Next run npm install, followed by grunt to get the development server running.
Play nice
remove trailing whitespace from files before save
don’t use non-ascii file names
run grunt build before commit (and make sure there are no errors)
Do all this w/ ease!
mv .git/hooks/pre-commit.sample .git/hooks/pre-commit
echo "\n# run grunt build before commit, abort if errors\ngrunt" >> .git/hooks/pre-commit
License
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
Webmaker Kits
Idea: minimise the amount HTML needed to create a Teaching Kit, thus reducing the time it takes to create.
Usage
dist/“ for the stylesheets + javascript to “//stuff.webmaker.org/webmaker-kits/v2/“”Demos
Development
Make sure to have grunt installed globally.
Next run
npm install, followed bygruntto get the development server running.Play nice
grunt buildbefore commit (and make sure there are no errors)Do all this w/ ease!
License
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.