DIRECTORIES
- cloudsourced - application server
- dashboard - web dashboard
PREREQUISITES:
- Your own MongoDB server
- Go with MongoDB driver installed
- Node.js
TO RUN:
- Go into the dashboard directory
npm install
npm run build
(this will generate the web dashboard files)- Go to the cloudsourced directory
- Create a config.json file (see below)
go run .
- Site will be hosted on :8080
Config.json - This tells Cloudsourced how to connect to your MongoDB server
{
"mongoHost": "mongoHostname",
"mongoUser": "mongoUsername",
"mongoPass": "mongoPassword"
}