Node-Hugo project that generates Brown's Computational Biology Core's Projects Index Website.
We use Node.js to access GitHub's REST API and retrieve information about CBC's projects' repositories. The data is processed and written to data/ which can then be used by Hugo to generate static pages.
The website is continuously deployed to GitHub Pages using Travis CI.
Install dependencies:
npm install
Sensitive environment variables are stored in the .env file. This file is included in .gitignore intentionally, so that it is never committed.
- Create a 
.envfile and copy into it the contents of.env.template - Get your GitHub Access Token and add to the 
.envfile. 
Get the data
gulp dataStart gulp to watch and compile .sass
# in a terminal window
gulpStart the server
# in a different terminal window
hugo serve -DThis will build the site in the public/ directory.
hugoThe site is deployed to GitHub Pages using Travis. Changes to the site should be done in the Hugo project (hugo-site branch). Never commit to master, that branch will be updated by Travis whenever a new build is done.