Skip to content
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.

Bytecm/SoSe22-Web-A1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SoSe22-Web-A1

Running the NodeJS Server

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:

http://localhost:8080

Running the Node JS Site in Docker

This Repository has a ready Dockerfile, so that you can build the Container yourself.

Building the Container

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 .

Running the Container

This repository gives you two Options the classic "docker run" command and docker-compose The default port is: 8080/tcp

Docker run

When you want to use the classic "docker run" use this Commands:

starting:

docker run -d -p 8080:8080 --name sose22-web-a1 bytecm/sose22-web-a1

stopping:

docker stop sose22-web-a1

docker-compose

When you want to use docker-compose just type in the repository folder:

starting:

docker-compose up -d

stopping:

docker-compose down

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •