Skip to content

Since bootstrapping an app is annoying, here is my preconfigured PET'L stack elixir app.

Notifications You must be signed in to change notification settings

Calamari/elixir_template

Repository files navigation

MyApp

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.

Usage

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 run

Create running system

First we need a database:

docker-compose up -d
mix.ecto.migrate

Creating an admin user

To create an admin user, you can run the following task:

mix my_app.create_admin your@email.io "Your Name" passw0rd

Prepare frontend:

npm i --prefix assets

Run Test server

make start # or dev

About

Since bootstrapping an app is annoying, here is my preconfigured PET'L stack elixir app.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published