Skip to content

torsec/palantir-h2020

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 

Repository files navigation

Palantir's website

No trace about code??? Take a look in gh-pages branch.

How to contribute

  1. 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
    
  2. Make your changes (e.g. create a news)

    $ cd palantir-h2020/_news
    $ vim 2017-01-01-happy-new-year.md
    ... edit your news ...
    
  3. Commit and push (if allowed...) your changes

    $ cd palantir-h2020
    $ git add .
    $ git commit -m "Added news"
    $ git push origin gh-pages:gh-pages
    
  4. That's all folks!

How to locally build the website

  1. Install ruby:

    $ sudo apt install ruby-full
    
  2. 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"
    
  3. Reload your rc file:

    $ source ~/.bashrc
    
  4. Install the required gems:

    $ gem install jekyll bundler
    
  5. If your ruby version is >= 3.0.0 run:

    $ bundle add webrick
    
  6. Build the website:

    $ bundle exec jekyll serve
    

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •