This tempalte is my my_app to start new Elixir projects. It should contain authentication, Bamboo powered Emails and a release strategy for fly.io.
Call ./setup_my_app.sh with your desired app naming, like ./setup_my_app.sh MyGreatApp
. And then look into to Makefile to see a nice variety of things you can do.
There is also a local database server provided using docker:
docker-compose up -d
But to run everything in development mode just run:
make dev
First we need a database:
docker-compose up -d
mix.ecto.migrate
To create an admin user, you can run the following task:
mix my_app.create_admin your@email.io "Your Name" passw0rd
npm i --prefix assets
make start # or dev