/idtprime.com

Static part of idtprime.com

Primary LanguageCSS

Static idtprime.com

Platform & Components

To run this site locally you should have installed:

  • Node.js

  • GIT

    IMPORTANT. When installing GIT on Windows, make sure you install with the option of making git available to the windows command line.

    Git options

See also instruction for setting up Node.js environment under Mac Os and Linux.

Install / update DocPad

On Windows:

  1. Run 'Node.js command promt' as Administrator.
    Node.js command promt
  2. Type npm install -g npm and press «Enter» to update Node Package Manager.
  3. Type npm install -g docpad@6.63 and press «Enter» to install DocPad globally.
  4. Close Node.js command promt, run Windows command promt (cmd) as regular user and navigate to your folder with project.
  5. Run docpad update inside your project directory to ensure that your local installations of DocPad and its plugins are updated to their latest compatible versions.

For other systems check manual at official site.

Running DocPad locally

docpad run in cmd inside your project directory to compile the site, start the webserver and watch for changes.

To preview site in browser open http://localhost:9778

Full list of commands.

Developing

src/document — content pages
src/layout — template of the site
src/partials — includes used in templates
src/files — resources

More docs at DocPad site.

Deploy

Run docpad generate inside your project directory to compile the site.

Static pages of the site will be rendered in out directory.

Troubleshooting

In case of any problems try first to update DocPad.

License

IDT © 2014+ All rights reserved.