Skip to content

gruntbrasil/gruntjs.com

 
 

Repository files navigation

Grunt Website

Build

  1. npm install
  2. grunt

Setup Development

  1. npm install
  2. grunt - gets the latest docs, generates the site
  3. use grunt watch if you are editing templates or less files. (Note: doc pages will have to be regenerated)

Run Server

  1. grunt server

Run Tests

  1. Make sure the server is running
  2. grunt test

Notes

  1. Default server port is : 5678. Configured in the Gruntfile

Deploy to Heroku

Set Heroku keys (if needed) with

ssh-keygen -t rsa -C "YOUR_HEROKU_EMAIL" -f  ~/.ssh/id_rsa_heroku

ssh-add ~/.ssh/id_rsa_heroku

heroku keys:add ~/.ssh/id_rsa_heroku.pub

Push

git push [email protected]:grunt.git master:master

If you need to regenerate the Heroku site, use empty commits:

git commit --allow-empty -m "empty commit"
git push [email protected]:grunt.git master:master

Releases

No releases published

Packages

No packages published