Install grunt
after you've installed Node.
npm install -g grunt-cli
NOTE: For development, always work out of the "source" branch, never, ever touch "master".
-
Clone the repo, install the dependencies, and start the preview server.
git clone [email protected]:netdna/netdna.github.com.git npm install ./preview
-
Visit http://localhost:8080/ in your browser.
-
Make changes to
./Readme.md
and refresh the page. -
You can also edit
./templates/layout.jade
for HTML changes using the Jade template engine.
-
Make CSS changes using LESS or plain CSS by editing files in the
./contents/css
folder. -
Add images in the
./contents/img/
folder and fonts in the./contents/font/
folder. -
When you're ready to deploy your changes:
git add . git commit -m 'I made some changes' git push origin source grunt
-
This will automatically build the site, and then deploy it to the master branch.
If you run into issues please contact [email protected].
MIT