Skip to content
Static website of Kalliope
Branch: sources
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
_data add trigger page Jan 20, 2019
_includes add trigger page Jan 20, 2019
_layouts Recorder neuron (#18) Jun 3, 2018
_plugins start working on neuron examples Mar 18, 2017
assets add brain examples Mar 8, 2017
css
dist add brain examples Mar 8, 2017
flags
images add trigger page Jan 20, 2019
.gitignore add ambient sound neuron Jul 30, 2017
Gemfile first commit Mar 6, 2017
Gemfile.lock update all libs Jan 20, 2019
README.md update links to match the new documentation May 29, 2018
_config.yml
about.md first commit Mar 6, 2017
brain_examples.html remove # in each synapse example + review homepage Mar 20, 2017
index.md
neurons_marketplace.html add mute + neurotimer core neuron Oct 3, 2017
ripples.min.css.map add community neurons list Mar 8, 2017
side_projects.html add side project page Jul 30, 2017
signals_marketplace.html add geolocalisation + gpio input signals Mar 7, 2018
starter_kit.html
triggers_marketplace.html add trigger page Jan 20, 2019

README.md

kalliope.github.io

This is the code of the front store of Kalliope on kalliope.github.io. The web site is generated with jekyll.

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)

Install Ruby

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

Install libs

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 git@github.com: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 _site folder

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
You can’t perform that action at this time.