/Retro-Clicker

An idle clicker game base on the idea of slow play.

Primary LanguageElixir

Retro Clicker

An idle clicker game base on the idea of slow play.

Dev Env Setup

Requirements:

  • Need elixir installed locally
  • Need docker and docker-compose installed locally

Phoenix Setup:

  1. Start the postgres and adminer container: $ docker-compose up -f docker-compose-dev.yml -d up
  2. Install dependencies: $ mix deps.get
  3. Init db: $ mix ecto.setup
  4. Reset db as needed: $ mix ecto.reset
  5. Start up server (localhost:4000) with repl $ iex -S mix phx.server

JS + CSS Setup:

  1. Go to frontend assets folder: $ cd priv/src
  2. Build js and css assets: $ npm run build
  3. Init hot js reloader: $ npm run dev-js

Helpful dev links