This repository contains the code of the static website.
The code needs to be compiled an then pushed in a dedicated branch.
Dev env installation (Ubuntu 16.04 & 18.04)
sudo apt-get install ruby ruby-dev make gcc
Use Ruby's gem package manager to install Jekyll itself as well as Bundler to manage Gem dependencies:
sudo gem install jekyll bundler
Clone the project
git clone https://github.com/kalliope-project/kalliope-project.github.io.git
kalliope-project.github.io bundle install
Run the dev server
bundle exec jekyll serve --host=0.0.0.0
Push build to github (Admin only)
As we use a community plugin (https://github.com/avillafiorita/jekyll-datapage_gen). We need to generate the site locally and then push the site's static files to the GitHub Pages site. See Github doc and this page to know how to use a non supported Jeykill pluggin into Github.
Code in the branch "source"
git checkout sources
The first time you compile the site, you need to checkout already generated files.
rm -rf _site/* cd _site git init git remote add origin firstname.lastname@example.org:kalliope-project/kalliope-project.github.io.git git pull origin master
Then, you can build the site. Git will see the delta between old and new generated files in
cd .. # to be placed in the root of the project bundle exec jekyll build
Go into the build folder, commit and push
cd _site git commit -m "jekyll build update" git push origin master