This is a quick tutorial on how to modify and deploy this website.
-
Get the proper autorization.
-
Install Jekyll on your computer by following these instructions
-
Clone local copies:
git clone git@github.com:norlab-ulaval/website.git
git clone git@github.com:norlab-ulaval/norlab-ulaval.github.io.git
cd website
-
Do some modifications. If you want to modify information related to people, start with
_data/authors.yml
If you want to write a post or a news, look in the folder_posts
. It is easier to start by copying a markdown file.mkd
and start from there. -
Open a local server:
bundle exec jekyll serve --livereload
-
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 bundle exec 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