Skip to content

psi4/psicode-hugo-website

Repository files navigation

psicode-hugo-website Netlify Status

This is the home of the new psicode website generated with Hugo. Committers to psi4/psi4 have push access (at least that was my intention). There's nice build check and preview capabilites upon pull request, so contributions through PR preferred.

getting started

get Hugo
  • download and extract tarball from https://github.com/gohugoio/hugo/releases . add hugo command to PATH envvar
  • works for Linux: wget https://github.com/gohugoio/hugo/releases/download/v0.82.0/hugo_0.82.0_Linux-64bit.tar.gz
get website
  • Fork this repo, then clone it locally
  • git clone --recursive https://github.com/<USERNAME>/psicode-hugo-website.git
  • git remote add upstream https://github.com/psi4/psicode-hugo-website.git
get theme

Skip unless --recursive above doesn't work.

  • need to get GH:loriab/meghna-hugo at branch bootstrap4. It's a submodule, so it'll handle itself with thte recursive above. If not, below is the approximate directions

  • cd psicode-hugo-website/themes/

  • git submodule add https://github.com/loriab/meghna-hugo.git

  • git checkout bootstrap4

start the site building locally
deploy the website
  • push to a branch on your fork, submit a PR, and netlify will build a preview. Once merged to master of this repo, https://app.netlify.com/sites/psicode/deploys will go to work. Should be up in a couple minutes.
  • may need to git config http.postBuffer 524288000 if fatal: the remote end hung up unexpectedly
  • users with write access to this repo are free to merge their own PRs. otherwise, request a review.