$ cp config/config.js.example config/config.js
$ npm install
$ mongod --dbpath="path\to\mongodb\storage\directory"
Copy file initDB.js to the folder you installed MongoDB (usually C:\Program Files\MongoDB\Server\xxx\bin) and run this command from there:
$ mongo initDB.js
Or change line 6 of file config/config.js from url: 'mongodb://mongodbuser:[email protected]:27017/museum'
to the url in mLab server (will email you)
$ node initialize.js
$ npm install -g pm2
$ npm install
$ pm2 start run.js --name museum
Open http://localhost:8000 or http://127.0.0.1:8000 in browser (Chrome, Firefox, ...)
$ pm2 delete museum
Open a terminal (Ctrl + Atl + T) and run
$ cd museum
$ ./run-export-all.sh
CSV files will be generated and copied to exports
folder