No trace about code??? Take a look in gh-pages
branch.
-
Clone the Git repo and switch to
gh-pages
branch$ git clone https://github.com/torsec/palantir-h2020.git $ cd palantir-h2020 $ git checkout -b gh-pages --track origin/gh-pages
-
Make your changes (e.g. create a news)
$ cd palantir-h2020/_news $ vim 2017-01-01-happy-new-year.md ... edit your news ...
-
Commit and push (if allowed...) your changes
$ cd palantir-h2020 $ git add . $ git commit -m "Added news" $ git push origin gh-pages:gh-pages
-
That's all folks!
-
Install
ruby
:$ sudo apt install ruby-full
-
Write into your shell rc file (eg. ~/.bashrc) the following lines:
# Install Ruby Gems to ~/gems export GEM_HOME="$HOME/gems" export PATH="$HOME/gems/bin:$PATH"
-
Reload your rc file:
$ source ~/.bashrc
-
Install the required gems:
$ gem install jekyll bundler
-
If your
ruby
version is >=3.0.0
run:$ bundle add webrick
-
Build the website:
$ bundle exec jekyll serve