Awesome
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 <a href="http://nodejs.org/">nodejs</a> and uses <a href="https://npmjs.org/doc/">npm</a> for package management.
Once you have those you can get things up and running by:
- Install npm modules -
npm install
- Use the default configuration -
cp env.sample .env
- Run the server -
npm start
Tests
We use <a href="http://gruntjs.com/">Grunt</a> to lint our CSS and JS and these tests are run on each pull request sent into the mozilla repo using <a href="https://travis-ci.org/mozilla/login.webmaker.org">travis-ci</a>.
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