Skip to content

madeindjs/killer-game

Repository files navigation

Killer game generator

This application generate Killer game for a party.

Example of a killer card

## Setup

npm i
npm run dev

you might run database migrations

cd api
npx knex migrate:up

Docker

docker build . -f frontend.Dockerfile -t killer-frontend


docker build . -f api.Dockerfile -t killer-api
docker run -p 3001:3001 killer-api

see build.sh to build images

To run the project

docker run -p 3000:3000 -d arousseau/killer-game-frontend
# using a volume for the sqlite database
docker run -p 3001:3001 -v "$PWD/db:/app/api/db" arousseau/killer-game-api

Docker Swarm

Deploy it quickly using

docker stack deploy -c docker-compose.yml killer-game

Check the Github workflow to see how Docker Swarm is used for the deployment of [the-killer.online]

About

generate Killer game for a party

Resources

License

Stars

Watchers

Forks

Sponsor this project

Languages