Website of https://cdnjs.com
- Node
- MongoDB
- A registered Twitter application.
cd path/to/repo
npm install
CONSUMER_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.sh
Note: 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.