Skip to content

Latest commit

 

History

History
43 lines (35 loc) · 827 Bytes

File metadata and controls

43 lines (35 loc) · 827 Bytes

Werewolf Timer

This is a special timer for werewolf talking game.

Live Demo: https://werewolf-timer.akademikerchor.berlin

Development

dev server

npm install
npm start

scss to css: open a new terminal

yarn run sass

Deployment

Build image

docker build -f Dockerfile-prod -t [imageName] .

Save image to tar file

docker save -o [tar file path name] [imageName]

SCP image to server, then reload there

docker load -i [tar file path name]

Remove old image, stop current running container, run new image

docker run -td --net=host -p 3004:3004 [imageName]

Use deploy-live.sh

First check the current live version, then run following command

./deploy-live.sh werewolf-timer-app [new version] [current live version]