TaskBunny is a web application that connects people who have tasks to be done, with people willing to help them get them done.
- Product Owner: Bryan
- Scrum Master: Mokhtar
- Development Team Members: David, Bryan, Mokhtar
- Node 0.10.x
- Mongod
- SendGrid (for email notifications)
From within the root directory:
sudo npm install -g bower
npm install
bower install
Configure OAuth settings then
Run the grunt default task
grunt
Visit http://localhost:8000/ in your browser
View the project roadmap here
See LAYOUT.md and CONTRIBUTING.md for contribution guidelines.
TaskBunny uses passport.js with Google+ for sign-in
Follow these instructions to setup and app:
Create a project at https://console.developers.google.com
- Under APIs and auth
- Credentials
- create a new client ID for a 'Web Application'
- you will have to provide a callback URL under Redirect URIs, make sure it is identical in your
google.json
- for development http://localhost:8000/auth/google/callback/
- in production http://www.yourdomain.com/auth/google/callback/
- APIs
- Under Social APIs enable the Google+ API. (See passport-google-oauth Issue)
- Credentials
make a note of the client ID and Client secret.
On your development machine save them in a json file in the secrets folder at the root of the project directory.
secrets/google.json
It should look something like this:
{
"id": "226227493412-qv8bcmn987243mnoqhitu6sj3298msaz8g.apps.googleusercontent.com",
"secret": "Ie_60237lfsln55ry9FAwZ-o",
"url": "http://localhost:8000/auth/google/callback/"
}
When running the server in production make sure to set NODE_ENV environment variable to 'production'.
Your deployment script should run grunt build
task. For Azure deployments this is handled by deploy.sh
included in the project.
In production set the values of the following environment variables accordingly
GOOGLE_APP_ID
GOOGLE_APP_SECRET
GOOGLE_APP_CALLBACK_URL
See the server/config.js for additional configuration environment variables to set.