Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 1.09 KB

README.md

File metadata and controls

21 lines (15 loc) · 1.09 KB

mediaQuery

A very basic nodejs-project used to query the MySQL-DB of a MediaQ server for more info click here.

ATTENTION: At the moment the user password-hashes used to store in a db are not being salted...

Installation:

  1. Install nodejs and a local version of mongodb
  2. checkout git from https://github.com/BenSower/geohunt.git
  3. Open a console/terminal/shell and enter the geohunt directory
  4. run npm install to download and install all necessary backend dependencies
  5. run node node_modules/bower/bin/bower install to download and install all necessary frontend dependencies (hint, since this command was also added to the postinstall-scripts in package.json, services like heroku will execute this command automatically)
  6. Fill in all needed information in config.js
  7. run npm start
  8. check http://localhost:3000 if you can see the welcome screen

If you want to, you can also insert a few example tasks to the db by executing node backend/insertBasicTasks.js