/vidcuss

Primary LanguageElixir

CI

Vidcuss

Development tools

  • Erlang/Elixir
  • PostgreSQL
  • NodeJS

Install dependencies

For version controlling of development tools asdf is suggested

  • Install asdf according to the docs
  • Install everything from .tool-versions file

For database managing Docker is suggested

  • Install Docker/Docker Compose
  • Run docker-compose up from the project directory

For managing environment variables direnv is suggested

  • Install direnv according to the docs
  • Copy .envrc.example to .envrc
  • Adjust variables if needed
  • Run direnv allow . from projects directory

NodeJS dependencies

  • Install yarn
  • Run yarn install

Phoenix server:

  • Install dependencies with mix deps.get
  • Create and migrate your database with mix ecto.setup
  • Start Phoenix endpoint with mix phx.server

Now you can visit localhost:4000 from your browser.