This project contains the content needed to build and deploy a copy of the Inclusive Learning Design Handbook. It is based off of the Fluid docs-template project.
- Clone this repository.
- From within the project's directory, install DocPad if it isn't already installed:
sudo npm install -g docpad - Get the required node modules:
npm install - Run docpad:
docpad run - Confirm everything is working by loading http://localhost:9778 in a web browser.
Periodically docs-template will have updates. It is suggested you keep up to date with these changes:
git remote add docs-template https://github.com/fluid-project/docs-template
git fetch docs-template
git merge docs-template/master
npm updateConflicts may occur when merging in changes from docs-template to your custom site. Manually resolve each conflict.
docpad deploy-ghpages --env staticNote: The above command will deploy to the origin of the repository. To deploy to production, you may need to be working from Master, not a fork.
To create a static version of the site, run: docpad generate --env static. This will generate a version in the ./out/ directory which you can then view locally or upload to a web server.
You can serve the website from a Docker container.
Once you have Docker installed, run the following commands to build a Docker image and start a container:
- Build the image:
docker build -t ildh . - Run the container:
docker run --name ildh -p 8000:80 ildh
The handbook will be available at http://localhost:8000
- To stop and remove the container:
docker rm -f ildh
If you make changes to the Handbook, repeat the steps to build the image and start a new container.
The Inclusive Learning Design Handbook is licensed under Creative Commons Attribution 2.5 Canada- http://creativecommons.org/licenses/by/2.5/ca/