tiaguinho / prest.github.io

Public site

Home Page:https://prest.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pREST docs

Public site

Contributing

  • Clone this repository.
git clone git@github.com:prest/prest.github.io.git
  • Make sure you pull all branchs and change it to gh-pages.
git checkout -b gh-pages origin/gh-pages
  • Update git submodules to getting Themes repository.
git submodule init
git submodule update
  • Do your modifications into content folder following Hugo documentation and run the webserver on port 1313.
hugo server -D
  • When you finish, commit it and send a Pull Request linking gh-pages branch.

Deploy

  • On gh-pages brach, generate static files with Hugo command.
hugo
  • Change to the master branch and you'll see the public folder modifications after git status. Move all this content to the root, replacing existing static files.
cp -r public/* .
rm -rf public/
  • Commit it and push it to master. That's all.

About

Public site

https://prest.github.io