To start your Phoenix app:
- Install dependencies with
mix deps.get
- Create and migrate your database with
mix ecto.create && mix ecto.migrate
- Export
ADMIN_PATH
env variable, be sure this is unique and secure, since this will take you to the admin area of the blog - Start Phoenix endpoint with
mix phoenix.server
Now you can visit localhost:4000
from your browser.
To get to the admin area, visit localhost:4000/ADMIN_PATH/posts
from your browser where ADMIN_POST
is what you set in your env variable.
Ready to run in production? Please check our deployment guides.
Copyright 2017 michelada.io See LICENCE