Skip to content

Latest commit

 

History

History
108 lines (67 loc) · 2.62 KB

README.md

File metadata and controls

108 lines (67 loc) · 2.62 KB

Task Bunny

TaskBunny is a web application that connects people who have tasks to be done, with people willing to help them get them done.

Team

  • Product Owner: Bryan
  • Scrum Master: Mokhtar
  • Development Team Members: David, Bryan, Mokhtar

Demo

http://taskbunny.azurewebsites.net

Table of Contents

  1. Requirements
  2. Development
  3. Deployment
  4. Team
  5. Contributing

Requirements

  • Node 0.10.x
  • Mongod
  • SendGrid (for email notifications)

Development

Installing Dependencies

From within the root directory:

sudo npm install -g bower
npm install
bower install

Running locally

Configure OAuth settings then

Run the grunt default task

grunt

Visit http://localhost:8000/ in your browser

Roadmap

View the project roadmap here

Contributing

See LAYOUT.md and CONTRIBUTING.md for contribution guidelines.

Configuration

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

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/"
}

Deployment

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.