Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
43 lines (36 sloc) 1.22 KB
SETTING UP
==========
Install Node Version Manager (NVM):
http://github.com/creationix/nvm
Grab the latest version of node:
nvm install v0.2.0
Install Node Package Manager (NPM):
http://github.com/isaacs/npm
NOTE: All npm installed packages will be local to your current nvm-installed version of NodeJS.
Install the following packages through npm:
npm install connect
npm install connect-assetmanager
npm install connect-assetmanager-handlers
npm install connect-auth
npm install connect-form
npm install express
npm install ejs
npm install log4js
npm install mongodb
npm install oauth
Install MongoDB:
http://www.mongodb.org/downloads
mongod --dbpath ~/data
Set up environment variables in your profile:
# NODE SETTINGS
#export NODE_FACEBOOK_ID =
#export NODE_FACEBOOK_SECRET =
#export NODE_FACEBOOK_CALLBACK =
export NODE_MONGO_DATABASE_NAME="node-knockout"
export NODE_MONGO_DRIVER_HOST="localhost"
export NODE_MONGO_DRIVER_PORT="27017"
export NODE_TWITTER_KEY="xxx"
export NODE_TWITTER_SECRET="xxx"
export NODE_GITHUB_LOGIN="xxx"
#https://github.com/account click on Account Admin in left side bar
export NODE_GITHUB_TOKEN="xxx"
Something went wrong with that request. Please try again.