Skip to content

Latest commit

 

History

History
77 lines (53 loc) · 980 Bytes

README.md

File metadata and controls

77 lines (53 loc) · 980 Bytes

Gamou

Requirements

  • docker
  • nodejs 18.x

Stack

Envirovment variables

NEXT_PUBLIC_BASE_URL=http://localhost:3000
TOKEN_SECRET=GAMOU
NEXT_PUBLIC_GTM_ID=

(localhost) Install & run

$ docker compose build
$ docker compose up db -d
$ npm ci
$ npx knex migrate:latest
$ npm run dev
http://localhost:3000/

Tips

open psql on localhost

$ docker exec -it gamou_db psql -U gamou_user -d gamou_db

docker migrations

$ docker exec -it gamou_app npx knex migrate:latest

stop docker container

$ docker stop gamou_app

docker cleanup

$ docker system prune

License

This project is licensed under the Creative Commons Attribution-NonCommercial (CC BY-NC) license.