Skip to content

pkoukos/haddocking.github.io

 
 

Repository files navigation

Bonvin Lab webpage based on the Jekyll template Minimal Mistakes

See a live version of this website hosted on GitHub. For more information on the template and folder organization, visit the original author's web page.

Getting Started

To ensure whatever you create/change appears as faithfully as possible after pushing to the main repository, install the version of Ruby and the gems used by Github. See a list here.

Installation Instructions (updt. Feb. 2016)

  1. Install RVM (optional, to manage your Ruby installations)
\curl -sSL https://get.rvm.io | bash -s stable --ruby
rvm install ruby-2.6.3
rvm --default use ruby-2.6.3
  1. Install Bundler
gem install bundler
  1. Clone the haddocking.github.io repository and install all dependency Gems with Bundler
git clone https://github.com/haddocking/haddocking.github.io.git haddocking-website
cd haddocking-website
bundle install
  1. Adapt the settings in _config.yml accordingly In order for links to properly work, the url setting in must be set accordingly, otherwise you will be redirected to the live version. This sets all the site.url variable calls throughout _layouts/, _includes/, etc.
url: "" # Empty string will render the page successfully locally. Do not commit it to the main repository!
incremental: true # This will be disabled by Github, but is useful for testing changes locally!

Running the website locally

To preview changes, which you should always do before committing anything or making any pull requests, run the web server locally using the following:

    $ bundle exec jekyll serve

Small utility to create a new post automatically. Quick and dirty replacement of octopress new post

    $ python _utilities/create_new_article.py 'A Random Post'
  1. For updating jeckyll and bundle
    $ gem update jekyll
    $ gem update bundle 

About

Webpage of the HADDOCK group

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 80.1%
  • Jupyter Notebook 17.5%
  • Other 2.4%