This repository powers the https://goc-spending.github.io/ website.
It's based on Netlify's Victor Hugo package, a boilerplate for using Hugo as a static site generator and Webpack as an asset pipeline.
You need to have the latest/LTS node and npm versions installed in order to use Victor Hugo.
Next step, clone this repository and run:
npm install
This will take some time and will install all packages necessary to run Victor Hugo and its tasks.
While developing your website, use:
npm start
or for developing your website with hugo server --buildDrafts --buildFuture
, use:
npm run preview
Then visit http://localhost:3000/ - or a new browser windows popped-up already - to preview your new website. Webpack Dev Server will automatically reload the CSS or refresh the whole page, when stylesheets or content changes.
To build a static version of the website inside the /dist
folder, run:
npm run build
To get a preview of posts or articles not yet published, run:
npm run build:preview
See package.json for all tasks.
This version has been customized to deploy to a separate repo, using GitHub Pages.
To deploy an updated version of the website, run:
npm run deploy
This repository is part of a larger collection of tools to analyze and visualize Government of Canada contract spending.
For more information, see the main goc-spending repository.
This is a volunteer project and is not affiliated with the Government of Canada.