Serves a web frontend for entice. Use this to access the worlds.
Needs:
- Erlang version: 17.5
- Elixir version: 1.0.4
To config:
- find the config files in
./config
- in local dev environment edit the
./config/prod.exs
config file - in production environment (see
MIX_ENV
) use DATABASE_URL to set the PostgreSQL url:- get your url, check postgres info on how to do that it should look somewhat like this:
postgres://username:[email protected]/database_name
- replace the
postgres
withecto
like this:ecto://username:[email protected]/database_name
- get your url, check postgres info on how to do that it should look somewhat like this:
To start:
- Install dependencies with
mix deps.get
- Create the database with
mix ecto.migrate
- Seed the database with
mix run priv/repo/seeds.exs
- Start server with
mix phoenix.server