Website of https://cdnjs.com
- Node
- MongoDB
- A registered Twitter application.
cd path/to/repo
npm installCONSUMER_KEY=<twitter app consumer key>
CONSUMER_SECRET=<twitter app consumer secret>
ACCESS_TOKEN=<twitter app access token>
ACCESS_TOKEN_SECRETt=<twitter app access token secret>
MONGOHQ_URL=<mongodb url>
APP=[mainSite|api]
./runServer.shNote: Make sure mongod is running if you're using a local database.
Heads up: runServer.sh script only works on Bash. If you're using another shell run node [webServer|apiServer].js instead.