Canadian Digital Service website - digital.canada.ca
Both digital.canada.ca and numerique.canada.ca are published from this repository.
Powered by Jekyll, the Web Experience Toolkit, and Docker.
-
Clone the repository.
git clone https://github.com/cds-snc/digital-canada-ca.git
-
Load submodules
cd digital-canada-ca git submodule update --init --recursive
-
Pull in dependencies
bundle install
-
Serve
./serve
or
./serve-fr
-
Browse http://localhost:4000
Using docker can simplify dependency management, but can significantly slow down your build time. Assuming you've already got Docker installed, after you complete steps 1 & 2 above, you may alternatively run the following command to bring up the docker instance:
docker-compose up
This will install any necessary dependencies on the first run. Afterwards, just run docker-compose up
again to launch
the local Jekyll server for development and testing.