How to update the website

May 19, 2016    website    commandline   

Note to Self

This was a note to self, but it is now wrong (after Hugo change)

Update website

Four simple commands (after cd-ing into the correct folder)

  • jekyll build
    • This builds all the new files
  • git add .
    • this adds the files to the git repo
  • git commit -m "blah"
    • where “blah” is some reasonable comment
    • this commits the changes to the local repo
  • git push origin master
    • this pushes the data to github where it can be served

Add new research paper

(Because this is something I should do a lot of!)

  • Add a new markdown file to _papers
  • Add the pdf to research/pdf/
    • And NOT to the folder in the _site folder…
  • Add the title to the research.md file in the main folder