Website for the Canadian Digital Service
HTML CSS JavaScript Other
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.circleci restoring.. Aug 3, 2018
_data Merge branch 'master' into peopleChanges Aug 8, 2018
_includes Updating css prefixes to font awesome 5 Aug 3, 2018
_layouts Removed hiring banner from all pages Jun 19, 2018
_pages Hid Senior PM link Aug 14, 2018
_posts Added Annies blog post in FR and EN aswell as header img Aug 17, 2018
_sass upgrading font awesome to 5.2. Dependencies upgrades, but many icons … Aug 2, 2018
assets Added Annies blog post in FR and EN aswell as header img Aug 17, 2018
.gitattributes add .gitattributes to automatically handle crlf/lf issue (#76) Jan 16, 2018
.gitignore ignore bundle and vendor folders Aug 8, 2017
.gitmodules Added the GCWeb submodule Jul 18, 2017
CONTRIBUTING.md change deployment branch and contributing guides Sep 19, 2017
Gemfile Manually adding 'rake' gem Aug 3, 2018
Gemfile.lock Manually adding 'rake' gem Aug 3, 2018
LICENSE.txt change name in license Sep 19, 2017
README.md list formatting Aug 17, 2017
_config.yml removing extra character Jul 3, 2018
_config_en.yml Changed title on page, compressed spacing for mobile, and removed fir… Jul 3, 2018
_config_fr.yml Changed title on page, compressed spacing for mobile, and removed fir… Jul 3, 2018
check Add facebook conversion pixel for VAC recruitment landing page. (#185) Jun 6, 2018
create-blog Script to generate blog templates (#73) Jan 9, 2018
docker-compose.yml Initial content commit Jul 18, 2017
index-fr.html Updating css prefixes to font awesome 5 Aug 3, 2018
index.html upgrading font awesome to 5.2. Dependencies upgrades, but many icons … Aug 2, 2018
serve clear out cached site before recompiling Feb 16, 2018
serve-fr clear out cached site before recompiling Feb 16, 2018

README.md

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.

To install locally:

  1. Clone the repository.

    git clone https://github.com/cds-snc/digital-canada-ca.git
    
  2. Load submodules

    cd digital-canada-ca
    git submodule update --init --recursive
    
  3. Pull in dependencies

    bundle install
    
  4. Serve

    ./serve
    

    or

    ./serve-fr
    
  5. Browse http://localhost:4000

Alternative installation using Docker

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.