Перейти к файлу
Ali Al Dallal af239e0a8b Fix spacing and grunt failing 2015-01-28 10:36:59 -05:00
less MozillaFoundation/plan#246 Now, with real eyelids! 2015-01-26 21:26:33 -08:00
lib redirect logged in home page users to explore 2015-01-16 14:39:34 -05:00
locale/en_US Adds Private Eye key to i18n 2015-01-26 12:25:58 -08:00
public Fix spacing and grunt failing 2015-01-28 10:36:59 -05:00
routes Fixes Bug 1108804 - Add redirects for new Webmaker IA 2014-12-16 15:29:36 -08:00
test removing event guides and forwarding to event guides in events2 2014-03-25 14:39:39 -07:00
views onboarding experience 2015-01-15 18:08:22 -05:00
.gitignore Bug 1013444 - Switched angular to html5 mode, moved public_angular into public, added support for /resources and /explore URLs 2014-05-21 18:14:10 -04:00
.jsbeautifyrc Bug 1013444 - Switched angular to html5 mode, moved public_angular into public, added support for /resources and /explore URLs 2014-05-21 18:14:10 -04:00
.jshintrc Bug 1021762 - Update wm.org to use isSuperMentor, not isCollaborator 2014-06-13 14:04:24 -04:00
.no-cache Bug 1049943 - Reland Webmaker Login 3.0 2014-12-15 18:05:54 -05:00
.travis.yml Bug 960687 - Stop TravisCI testing with node v0.8 2014-01-16 14:46:05 -05:00
CONTRIBUTING.md tweaking grunt task naming; adding CONTRIBUTING guidelines 2013-11-07 11:36:30 -08:00
Gruntfile.js v1.1.102 2015-01-15 12:04:15 -05:00
LICENSE.txt Review fixes 2013-04-18 15:43:50 -04:00
Procfile NOBUG Added Procfile 2013-05-06 12:55:42 -04:00
README.md Bug 994946 - correct webmaker.org repo's README.md links 2014-04-10 23:15:21 +02:00
angular-i18n-ignoreKeys.json Fix spacing and grunt failing 2015-01-28 10:36:59 -05:00
app.js redirect logged in home page users to explore 2015-01-16 14:39:34 -05:00
bower.json update bower for login ux 2015-01-19 14:33:37 -05:00
cluster.js Revert "Bug 914185 - Switch webmaker.org to use Webmaker Butler r=cade,daleee" 2013-09-11 11:04:27 -04:00
env.dist Clean up EOY campaign in webmaker.org 2015-01-12 15:55:19 -05:00
gtf-ignored-keys.json v1.1.102 2015-01-15 12:04:15 -05:00
navigation.json Fixes highlighted explore in nav 2014-12-22 10:50:53 -08:00
package.json 1.1.119 2015-01-27 14:47:38 -08:00

README.md

Build Status Dependency Status Code Climate

webmaker.org

TLDR; if you've done this before

####Development

  1. git clone https://github.com/mozilla/webmaker.org
  2. npm install
  3. cp env.dist .env
  4. grunt dev (Builds front end js. If you aren't working on front end assets you can just do node app)

####Submitting PRs

  1. grunt (validate and compress images)
  2. Make a pull request against mozilla/master

##New Contributors

Please review our contributing guidelines here.

Dependencies

The setup portion of this README assumes you have the following installed:

  • Node.js & npm
  • Bower: npm install -g bower
  • grunt-cli: npm install -g grunt-cli

You should also have these Webmaker stack applications running:

Project Setup

  1. Clone webmaker.org and enter the directory: git clone https://github.com/mozilla/webmaker.org && cd webmaker.org
  2. Install webmaker.org's Node and Bower dependencies: npm install
  3. Copy the configuration template to its expected location: cp env.dist .env
  4. Open .env in your favourite text editor and ensure that your PORT, MAKE_ENDPOINT, LOGIN and LOGINAPI environment variables are set to the correct values. PORT can be any available port. MAKE_ENDPOINT, LOGIN and LOGINAPI should point to the URL of your running MakeAPI and Webmaker Login service instances.
  5. Run grunt dev, and open up http://localhost:7777/ in your favourite web browser!

Grunt Tasks

  • grunt - Validate LESS, beautify and lint JS, compress images as needed. Run before you push.
  • grunt dev - Run the server and build js files as they are changed
  • grunt verify - Verify LESS and JS are formatted and lint free. Read only. Used by Travis.