Projectmanagement quiz by TINF20C (DHBW Stuttgart)
Go to file
H4CK3R-01 0c7c104e2e
All checks were successful
build
Use Gitea actions instead of drone #2
2023-03-28 00:13:06 +02:00
.gitea/workflows Use Gitea actions instead of drone 2023-03-28 00:10:37 +02:00
data Removed line breaks from some questions 2021-07-13 17:11:20 +02:00
public Update dependency socket.io to v4.6.1 2023-02-21 06:01:25 +01:00
Webservice Optimized css for mobile devices 2021-07-14 11:34:36 +02:00
.gitignore Added package.json 2021-05-26 17:10:14 +02:00
.renovaterc.json Migrate to Gitea 2022-09-18 01:07:45 +02:00
Dockerfile Use Gitea actions instead of drone 2023-03-28 00:10:37 +02:00
minimize.sh Minimize js and css files in docker build 2021-06-16 10:15:48 +02:00
package-lock.json Update dependency @socket.io/admin-ui to ^0.5.0 2022-09-20 07:01:21 +02:00
package.json Update dependency @socket.io/admin-ui to ^0.5.0 2022-09-20 07:01:21 +02:00
README.md Update README.md 2021-07-15 09:12:44 +02:00

Wer wird Projektmanager 2021?

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