/osproject

candy rotator game

Primary LanguageSvelteMIT LicenseMIT

candy rotator game

Running

  • download prod-docker-compose.yaml
  • rename to docker-compose.yaml
  • replace variables' values inside
  • run docker compose up -d

Developing

  • clone this repository
  • run npm i
  • copy dev-docker-compose.yaml to docker-compose.yaml
  • copy dev.env to .env
  • edit variables inside docker-compose.yaml and .env
  • run docker compose up -d to start postgres database

run development server

npm run dev

Building

locally

npm run build

then preview the production build

npm run preview

docker image

docker build .