Prerequisites:
- Install
asdf
: https://github.com/asdf-vm/asdf - Make sure you have the tool in
.tool-versions
up to date withasdf
To start your Tefla web server:
- Install javascript dependencies with
cd assets && npm install && cd ..
- Install Elixir dependencies with
mix deps.get
- Make sure postgres is running
pg_ctl start
- Create and migrate your database with
mix ecto.setup
- Start Phoenix endpoint with
mix phx.server
or inside IEx withiex -S mix phx.server
Now you can visit localhost:4000
from your browser.
Ready to run in production? Please check our deployment guides.
- Official website: https://www.phoenixframework.org/
- Guides: https://hexdocs.pm/phoenix/overview.html
- Docs: https://hexdocs.pm/phoenix
- Forum: https://elixirforum.com/c/phoenix-forum
- Source: https://github.com/phoenixframework/phoenix