Important for major changes please create a new branch first, modify it and create a pullrequest afterwards.
To create a new branch on GitHub, follow these steps:
The renalmri.org using generator website Jekyll.
The text files that the site is built from live in the 'main' branch of a GitHub repository. Whenever the files in this repository are changed, GitHub rebuilds the website automatically.
To maintain and update the renalmri website, you will need to set up two software packages on your computer:
Clone the develop branch into a folder of your choice on your computer.
gem install bundler:2.3.7
bundle install
bundle exec jekyll serve
use this for start site on your local machinectrl + c
in console to stopMake changes to files as you see fit. The website is built around the widely used and well-supported Minimal Mistakes theme.
To test the changes you made locally, open a terminal or prompt, navigate to the folder you just created (so you can see the file _config.yml
).
Type the command jekyll serve
or jekyll install
and hit Enter. If you see jekyll
producing errors at this stage, try using the command bundle exec jekyll serve
instead. If that does not resolve the problem, re-installe and upgrade Jekyll (follow the Jekyll installation guide again).
After a while, you should see a line Server address: http://127.0.0.1:4000/
. Enter this address into your web browser.
If you're happy with the local rendering of the site, commit the changes back to the 'develop' branch of the repository.
Submit a pull request from the 'develop' branch to the 'master' branch of the repository. The site will then automatically be rebuilt by the Netlify host service. You can check the status of the rebuild by logging into Netlify with the MRSHub GitHub account credentials. Once the build is successful, the is live without further ado.
gem "jekyll", "~> 4.3.1"
gem "minima", "~> 2.5"
group :jekyll_plugins do
gem "jekyll-feed", "~> 0.12"
end
platforms :mingw, :x64_mingw, :mswin, :jruby do
gem "tzinfo", ">= 1", "< 3"
gem "tzinfo-data"
end
# Performance-booster for watching directories on Windows
gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]
gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby]
gem "minimal-mistakes-jekyll"```