To run locally the website:
-
Follow the guide from the Jekill website to install it depending on your operating system:
-
Open CLI and change the current working directory to the location where you want the cloned directory.
-
Clone the repository by using:
git clone https://github.com/ismrm-iberian/ismrm-iberian.github.io.git
-
Change the current directory to the repository cloned:
cd ismrm-iberian.github.io
-
Delete the Gemfile.lock to be able to get new versions
-
To fix a known error of bundler, run in CLI:
bundle config set --local force_ruby_platform true
-
To create a new Gemfile.lock and install the requirements, run in CLI:
bundle install
-
Start the local server with live reload enable, to automatically refresh the page with each change you make to the source files:
bundle exec jekyll serve --livereload