Mathilde's recipes is a project created that combines cooking and coding.
- Cook healthy & delicious meals on a regular basis
- Figure out what groceries to get more efficiently
- Figure out how much time each meal takes to prepare
- Being able to check my recipes from anywhere
I plan to learn programming on my spare time & I wish to write some programs that I could directly use from the Github page
- Convert units (e.g. Celsius to Fahrenheit)
- Select recipes with defined filters (e.g. preparation time)
- Generate grocery list based on future recipes
Clone (or fork then clone) this repo.
Install Ruby v2.6+ as explained in the Jekyll docs for your operating system (via rbenv, for example).
Make sure both the installed Ruby version and RubyGems are on your path:
$ ruby -v
$ gem -v
If the version of ruby on your system is too recent (e.g. version 3.0.1), install Ruby Version Manager or rvm. Instructions to install rvm are here and this youtube video details how to use rvm to install and run previous versions of ruby. Briefly, once rvm is installed:
$ ruby -v
$ rvm -v
$ rvm use 2.6.0
$ ruby -v
Note: If your terminal does not have access to rvm functions, you may get the following error:
RVM is not a function, selecting rubies with 'rvm use ...' will not work.
You need to change your terminal emulator preferences to allow login shell.
Sometimes it is required to use `/bin/bash --login` as the command.
Please visit https://rvm.io/integration/gnome-terminal/ for a example.
On Fedora (and Ubuntu), do as follow:
- Open console
- Go to Preferences
- Go to Profiles > Command
- Check box 'Run command as a login shell'
- Restart terminal
You should be able to use rvm functions.
Install Bundler:
$ gem install bundler
Install the gems to build the site:
$ bundle install
Build and serve the site:
$ bundle exec jekyll serve
View the site in a browser at http://localhost:4000.
This site uses the Hydeout theme. Most of the site's structure and style come from the theme.
To run Jekyll commands, use bundle exec jekyll
.
We thank the Boston Python group for allowing us to use their GitHub page as a model for our GitHub page.