johninvictus / petal

A phoenix project, dashboard using Tailwind, Alpine and js hooks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

alt text

Petal

NOTE: The project is realtime across browsers

To start your Phoenix server:

  • Install dependencies with mix deps.get
  • Create and migrate your database with mix ecto.setup
  • Install Node.js dependencies with npm install inside the assets directory
  • Start Phoenix endpoint with mix phx.server

Running docker project.

I have provided sample environment data inside .env.sh so, the first thing you need to do is load it to the terminal with this command. source .env.sh

Then run docker compose with docker-compose up

Running release project

If you prefer the release file, run mix release then load the environment variable to the terminal using source .env.sh. After that run the generated release using _build/dev/rel/petal/bin/petal start

Testing project

In order to test the project run, mix test

About

A phoenix project, dashboard using Tailwind, Alpine and js hooks


Languages

Language:Elixir 76.0%Language:HTML 12.0%Language:JavaScript 7.6%Language:Dockerfile 2.3%Language:Shell 1.8%Language:CSS 0.4%