This is a PETAL stack seed for your projects. It has already included inside Tailwind and AlpineJS. As an extra, it also contains bakeware, so you may release your phoenix app as a self contained binary.
To start your Phoenix server:
- Install Phoenix and Node.js dependencies with
mix setup
- Start Phoenix endpoint with
mix phx.server
Now you can visit localhost:4000
from your browser.
Ready to run in production? Please check our deployment guides.
To build a release:
- Run
MIX_ENV=prod mix release
It will guide you and tell you where your release is located.
The project is built to be configurable using environment variables. Currently we use these:
- "APPLE_MOBILE_WEB_APP_STATUS_BAR_STYLE"
- "DATABASE_URL"
- "ERLANG_COOKIE"
- "HOSTNAME"
- "LANGUAGE"
- "LV_SIGNING_SALT"
- "MIX_TEST_PARTITION"
- "MSAPPLICATION_TILECOLOR"
- "OG_DESCRIPTION"
- "OG_TITLE"
- "PGDATABASE"
- "PGHOST"
- "PGPASSWORD"
- "PGPORT"
- "PGUSER"
- "POOL_SIZE"
- "PORT"
- "SECRET_KEY_BASE"
- "SSL_CERT_PATH"
- "SSL_KEY_PATH"
- "SSL_PORT"
- "TEST_PORT"
- "THEME_COLOR"
- "TITLE"