Projectmanagement quiz by TINF20C (DHBW Stuttgart)
Go to file
2021-06-21 22:49:37 +02:00
data - Fixed line breaks in questions and answers 2021-06-15 08:59:05 +02:00
public Merge pull request #45 from H4CK3R-01/change_background 2021-06-21 22:49:37 +02:00
Webservice - Fixed "your turn" 2021-06-21 22:45:58 +02:00
.gitignore Added package.json 2021-05-26 17:10:14 +02:00
Dockerfile Minimize js and css files in docker build 2021-06-16 10:15:48 +02:00
minimize.sh Minimize js and css files in docker build 2021-06-16 10:15:48 +02:00
package-lock.json - Fixed line breaks in questions and answers 2021-06-15 08:59:05 +02:00
package.json - Fixed line breaks in questions and answers 2021-06-15 08:59:05 +02:00
README.md Fixed typo 2021-06-11 09:29:55 +02:00

Projektmanagement Game

Docker

Build

docker build Projektmanagement-Game/ -t pm-game

Deploy

docker run -d -p 80:5000 pm-game

Check if it works

Open http://127.0.0.1 in your Browser

Without docker

Install dependencies

npm install

(Optional) Use credentials for monitoring

Set environment variables WEBSOCKET_MONITOR_USERNAME and WEBSOCKET_MONITOR_PASSWORD

WEBSOCKET_MONITOR_USERNAME: Username

WEBSOCKET_MONITOR_PASDSWORD: bcrypt hashed password. Generate with

node
> require("bcrypt").hashSync("<your-password>", 10)

Linux & MacOS: export NAME="VALUE"

Windows: set NAME="VALUE"

Run

node Webservice/server.js

Check if it works

Open http://127.0.0.1:5000 in your Browser