[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

nair0lf32/mcs

Repository files navigation

MedicalCheatSheets (MCS)

A simple static Jekyll blog about medical pathologies, with short posts or articles. The blog is written in French and articles are added gradually. The blog includes a progressive web app (pwa) functionality for offline reading (working on it):

  • Data is pre-cached in the browser using workbox.
  • Updating to get latest articles can be done when network is available (online)
  • The app can be installed via the browser prompt.
  • if any problem is faced when installing or updating just clean your browser cache and retry

Any contribution will be possible when license is added.

Usage

  • git clone the repository
  • Install the dependencies with bundle install
  • Run the server with bundle exec Jekyll serve
  • bundle exec jekyll build to build the project

The server will make the project available at: http://127.0.0.1:4000/mcs/

Important note: As this is not a regular Jekyll setup but using github-pagesplugin instead, you might have conflicts issues with your ruby version and the plugin versions (gh-pages doesn't support ruby > 2.7) which results in a nightmare especially when you are trying to setup on Linux. Here is a temporary (I wish) workaround:

  • Use a ruby version manager (I chose rbenv)
  • Switch to ruby 2.7.0 for this project
  • If you used rbenv too make sure you have the latest version or at least latest version of ruby-build (to avoid an OpenSSl version conflict too *sigh)

The blog is deployed on Github Pages using a github action workflow. The workflow is available in the .github/workflows folder.