This is a quick tutorial on how to modify and deploy this website.
-
Get the proper autorization.
-
Clone local copies:
git clone https://github.com/norlab-ulaval/website.git
git clone https://github.com/norlab-ulaval/norlab-ulaval.github.io.git
cd website
-
Do some modifications
-
Open a local server:
bundle exec jekyll serve
-
Validate your modifications on [http://localhost:4000/]
-
Send your modifications on GitHub:
git pull
,git add
,git commit
,git push
-
Compile in production mode:
JEKYLL_ENV=production jekyll build
- Publish the compiled website:
cd ../norlab-ulaval-github.io
git pull # just in case
rsync -a ../website/_site/ .
git add --all
git commit -a -m "Your comment"
git push
FIXME: If you know how to insert block code without breaking a list, please change this post.