- Install elixir dependencies:
mix deps.get - Install npm dependencies:
npm install --prefix assets - Create a Twitter app
- Create the
.envfile (cp .env.template .env) and add the Twitter credentials - Generate a token (
mix phx.gen.secret) and add it as theAPP_SECRETin the.envfile
- Ensure env variables are sourced:
source .env - Start the server:
mix phx.server
You can now visit localhost:4000 from a browser.