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