Skip to content

sekunho/butler

Repository files navigation

Butler

Declare your free time during the week

image

and Butler takes care of the things you have to do based on priority.

image

Get started

Dev (WIP)

Production (WIP)

docker build -t butler .
docker run -e DATABASE_URL=<REPLACE_WITH_DB_URL> -e SECRET_KEY_BASE=<REPLACE_WITH_SECRET_KEY> butler:latest

You could test if the container builds by running PostgreSQL, and setting DATABASE_URL=postgres://postgres:postgres@db:5432/<REPLACE_DB_NAME>

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

Now you can visit localhost:4000 from your browser.