Перейти к файлу
Aki Rose Braun 1268242f43 Fixes Bug 1112894 - Build A/B pages for splash 2014-12-22 12:06:04 -08:00
less Fixes Bug 1112894 - Build A/B pages for splash 2014-12-22 12:06:04 -08:00
lib lato csp fix 2014-12-22 11:57:40 -08:00
locale/en_US Fixes Bug 1112894 - Build A/B pages for splash 2014-12-22 12:06:04 -08:00
public Fixes Bug 1112894 - Build A/B pages for splash 2014-12-22 12:06:04 -08:00
routes Fixes Bug 1108804 - Add redirects for new Webmaker IA 2014-12-16 15:29:36 -08:00
test
views Fixes highlighted explore in nav 2014-12-22 10:50:53 -08:00
.gitignore
.jsbeautifyrc
.jshintrc
.no-cache Bug 1049943 - Reland Webmaker Login 3.0 2014-12-15 18:05:54 -05:00
.travis.yml
CONTRIBUTING.md
Gruntfile.js Fix error in gruntfile, take 2 2014-12-19 15:39:23 -08:00
LICENSE.txt
Procfile
README.md
app.js Fixes Bug 1112894 - Build A/B pages for splash 2014-12-22 12:06:04 -08:00
bower.json Bug 1099009 - Implement login 3.0 for non-Angular pages 2014-12-18 18:53:09 -05:00
cluster.js
env.dist Bug 1108811 - Implement header for new IA 2014-12-16 15:29:35 -08:00
gtf-ignored-keys.json
navigation.json Fixes highlighted explore in nav 2014-12-22 10:50:53 -08:00
package.json 1.1.93 2014-12-19 15:44:24 -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.