Skip to content

DenisSabo/Wt-Project

Repository files navigation

Webtechnology - Social Media Project

Get Started (with docker container)

  1. get docker <-- download available on their webside

  2. copy and rename the file config/default.json.const to config/default.json and enter your websettings

  3. enter the following command in the project folder

        $ docker-compose up

OR Get Started locally

  1. get node.js <-- click for more information on how to obtain it

  2. get mongodb <-- click for more information on how to obtain it

  3. open the repository folder in IDEA WebStorm/PHPStorm or run the following command in the repository folder to install all packages from the package.json file

        $ npm install
  4. copy and rename the file config/default.json.const to config/default.json and enter your websettings

  5. check the mongodb.connectionstring in config/default.json because the local mongo service runs on localhost (127.0.0.1) not on a docker container called "mongo"

  6. look up whether mongodb service is running or not / start mondodb service

        $ mongod
  7. Start the webserver on localhost

        $ npm start

TODO Add Heroku for easy demonstration of the project

About

Projekt von Ludwig, Raphi und Denis.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •