Let's light this candle
Prerequisites
- Erlang/Elixir
- Node.js
Env variables
HOSTNAMEASSET_HOSTPORTMIX_ENVDB_NAMEDB_USERDB_PASSWORDDB_HOSTADMIN_USERADMIN_PASSWORDAWS_ACCESS_KEY_IDAWS_SECRET_ACCESS_KEY
Steps
- Create database corresponding to your
DATABASE_URL. I useecto://short_stuff_dev:postgres@db/short_stuff_devlocally. - Install dependencies with
mix deps.get - Create and migrate your database with
mix ecto.setup - Install Node.js dependencies with
npm installinside theassetsdirectory - Start Phoenix endpoint with
mix phx.server
Now you can visit localhost:4000 from your browser.
Prerequisites
- Docker
Steps
docker-compose up --build