Skip to content

topcoat/topcoat.github.com

Repository files navigation

topcoat.github.com

TopCoat Organization

Adding a blog post

Watch this screencast.

Making Changes

  1. Clone the repo locally:

    git clone git@github.com:topcoat/topcoat.github.com.git
  2. Install DocPad (make sure you have node and npm installed):

    npm install -g docpad
  3. Install all the docpad plugins (configuration located in the package.json file):

    npm install
  4. You can start up docpad to test out your changes locally:

    docpad run
  5. Open your browser and go to http://localhost:9778/

    • Live reload is enabled, so while you are making changes and saving the files, the browser should update automatically.
    • To stop docpad hit ⌃ + c
  6. Make changes only to the src/ directory, everything else could be overwritten later.

    • All the dynamic content (jade, stylus, md, etc) is in src/documents/, the templates are in src/layouts/, and static files (images, etc) are in src/static.
    • While docpad is running locally, it will output the files to the out/ directory
  7. When you finish making changes, stop docpad (⌃ + c), and generate the static site:

    docpad generate --env static
  8. Deploy to git:

    git status

    (to check your changes)

    git commit -am 'type some descriptive message here