Login service for Webmaker.org
JavaScript CSS HTML
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
app fixes to sqlite3, jshint, and bcrypt operability (with a travis.yml fix Jul 5, 2016
config Bug 972919 - Remove unused schema.js May 12, 2014
lib
locale/en_US
migrations
test
.gitignore
.travis.yml
Gruntfile.js
LICENSE.html
Procfile
README.md
app.js
bower.json
env.sample
package.json

README.md

Build Status

login.webmaker.org

This is our SSO server and identity provider for webmaker.org and all our additional Webmaker websites; sign in once, sign in everywhere!

Getting the Server Up and Running Locally

The app is written using nodejs and uses npm for package management.

Once you have those you can get things up and running by:

  1. Install npm modules - npm install
  2. Use the default configeration - cp env.sample .env
  3. Run the server - npm start

Tests

We use Grunt to lint our CSS and JS and these tests are run on each pull request sent into the mozilla repo using travis-ci.

If you want to check your code passes before sending in a pull request (and ensure no breaking builds) then:

  • ensure that grunt is installed globally on your system - npm install -g grunt
  • run grunt --travis test

New Relic

To enable New Relic, set the NEW_RELIC_ENABLED environment variable and add a config file, or set the relevant environment variables.

For more information on configuring New Relic, see: https://github.com/newrelic/node-newrelic/#configuring-the-agent