- Chrome browser
- node.js JavaScript runtime
- npm Node Packaged Modules
- Grunt task runner
- Bower package manager
- Install prerequisites.
- Checkout the repository.
git clone https://github.com/ClockworkNet/clockdocs.git && cd clockdocs
- Install server-side packages.
npm update
- Install client-side packages.
bower update
- Build the source code. This will create a minified version of the app in
./clockdocs/dist
grunt build
- Install the app in Chrome. (See the Chrome Apps & Extensions Developer Tool for an alternative method.
- Open the extensions page.
- Make sure "Developer mode" is checked.
- Click "Load unpacked extension..." and select the
./clockdocs/dist
directory.
The Gruntfile.js included with this app has a developer mode. When you run grunt dev
from the command line,
grunt will watch for changes to certain files in the ./clockdocs/app
directory and then reload an uncompressed
version of the app in the ./clockdocs/dist
directory.