If you use asdf
, you can just hit asdf install
after you clone the
repo and should be good to go. Otherwise make sure you have:
- Elixir 1.7.4+
- Erlang 21+
- NodeJS 11.2+
- chromedriver (
brew install chromedriver
)
Grab the environment variables:
heroku config > .env
modify the file to export env varssource .env
To start your Phoenix server:
- Install dependencies with
mix deps.get
- Install Node.js dependencies with
cd assets && npm install
- Start Phoenix endpoint with
iex -S mix phx.serve
Now you can visit localhost:4000
from your browser.
You can run the tests with mix test
or mix test.watch --stale
if you
want it to watch your code and run affected tests.
- Official website: http://www.phoenixframework.org/
- Guides: https://hexdocs.pm/phoenix/overview.html
- Docs: https://hexdocs.pm/phoenix
- Mailing list: http://groups.google.com/group/phoenix-talk
- Source: https://github.com/phoenixframework/phoenix