git clone https://github.com/tejitak/lunchapp.git
To develop with Facebook auth, modify your hosts file because localhost is not allowed as callback host name. (Currently a domain tejitak.com is configured.)
e.g. "/private/etc/hosts" for mac
127.0.0.1 localhost dev.tejitak.com
Create a file "apikey.json" under lunchapp dir with the following content
{
"fb_client_id": "xxxxx",
"fb_client_secret": "xxxxx",
"gurunabi": "xxxxx",
"evernote_consumerKey": "xxxxx",
"evernote_consumerSecret": "xxxxx",
"evernote_sandbox": true,
"yelp_consumer_key" : "xxxxx",
"yelp_consumer_secret" : "xxxxx",
"yelp_token" : "xxxxx",
"yelp_token_secret" : "xxxxx"
}
Run "dscacheutil -flushcache" for reloading host file settings.
Run "mongod" or "mongod -dbpath ~/db".
Run "npm install" (just for once to initialize dev environment)
Note: If you get an EACCES warning, use sudo chown -R
Run "grunt server"
Access to http://dev.tejitak.com:3000/
Run "grunt" to run watch task