To run the Node JS Server you need to have Node JS installed!
To install the dependencies of the App run:
npm install
To Start the Server run:
npm start
now the Server should be reachable under:
This Repository has a ready Dockerfile, so that you can build the Container yourself.
First clone the Repository
git clone https://github.com/Bytecm/SoSe22-Web-A1.git
Go into the Repository
cd SoSe22-Web-A1
Then Build the Docker Container (use "sudo" if you are on Linux)
docker build -t bytecm/sose22-web-a1 .
This repository gives you two Options the classic "docker run" command and docker-compose The default port is: 8080/tcp
When you want to use the classic "docker run" use this Commands:
docker run -d -p 8080:8080 --name sose22-web-a1 bytecm/sose22-web-a1
docker stop sose22-web-a1
When you want to use docker-compose just type in the repository folder:
docker-compose up -d
docker-compose down