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.gitgit clone git@github.com:norlab-ulaval/norlab-ulaval.github.io.gitcd website -
Do some modifications. If you want to modify information related to people, start with
_data/authors.ymlIf you want to write a post or a news, look in the folder_posts. It is easier to start by copying a markdown file.mkdand 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.iogit pull # just in casersync -a ../website/_site/ .git add --allgit commit -a -m "Your comment"git push