Testbed for proving out future Simon/OLI technologies.
Have installed the following:
- Elixir (
$ brew install elixir
) - Phoenix (
$ mix archive.install hex phx_new 1.4.10
) - Docker
- Start dockerized postgres 12 via the included convenience script:
$ ./db.sh
- Install client and server dependencies:
$ cd assets && npm install
$ cd ../ && mix deps.get
- Create database
$ mix ecto.create
- Run migration to create schema
$ mix ecto.migrate
- Seed the database with some test data.
$ mix run priv/repo/seeds.exs
- Start Phoenix server
$ mix phx.server
- Access the app at
localhost:4000