No description, website, or topics provided.
Clone or download
Pull request Compare This branch is 20 commits ahead of yinshen:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
app_modules
conf
db
templates/bid-reply
.gitignore
Procfile
README.md
app.js
data.csv
data1.csv
data2.csv
package.json

README.md

transport_bidding

  1. install node, npm, mongodb
  2. cd into repo dir
  3. Get dependencies npm install
  4. run with MONGO_USER=<user> MONGO_PWD=<pwd> MONGO_URL=<url> MONGO_PORT=<port> node app.js or: MONGO_URL_OVERRIDE=<user:password@url:port/dbname> node app.js or: export MONGO_PWD=<pwd>; node app.js;

Configuration

  • MONGO_USER: database username
  • MONGO_PWD : database password
  • MONGO_URL : database host / url
  • MONGO_PORT: data port (default: 27017)
  • MONGO_URL_OVERRIDE: full connection string that can override all settings

For Heroku deployment heroku config:set NAME=value (e.g. heroku config:set MONGO_URL=ds053688.mongolab.com)