See Fratoj - The Brotherhood of code
To start your server:
- Install Phoenix dependencies with
mix deps.get
- Install Angular dependencies with
yarn
- Create and migrate your database with
mix ecto.create && mix ecto.migrate
- get our local environment variables to work: type
source .env
1
(you will need to do this for each terminal window you are using) - Start Phoenix endpoint with
mix phx.server
Now you can visit localhost:4000
from your browser.
- David Tengeri (dtengeri): Using Angular 4 with Phoenix Framework 1.3
- Brian Emory: Elixir Phoenix: Creating An App With Tests
- Andrew Forward: Continuous Testing with Elixir
- Read the section on creating Google credentials in the developer console in the tutorial series by Brian Emory, and create the
.env
file as described.