logo

Grimgrains

[mirror] Plant-based cooking website <https://grimgrains.com/>

README.md (1042B)


  1. # Grimgrains
  2. This repository is the sources for the Grimgrains website. The website is written in C, and requires `gcc` to build. To rebuild the site, go to `src` and run the build script:
  3. ```
  4. ./build.sh
  5. ```
  6. ### Macros Helpers
  7. ```
  8. #define INGREDIENT(ING_NAME, ING_DESC) Ingredient ING_NAME = create_ingredient(#ING_NAME, ING_DESC);
  9. #define CHILD_INGREDIENT(PARENT_NAME, ING_NAME, ING_DESC) Ingredient ING_NAME = create_child_ingredient(&PARENT_NAME, #ING_NAME, ING_DESC);//Ingredient beans = create_ingredient("beans", "Missing description.");
  10. INGREDIENT(beans, "MissingDescription");
  11. CHILD_INGREDIENT(beans, coffee, "Coffee is life");
  12. ```
  13. # Extras
  14. - The website source code of GrimGrains is licensed under [MIT](https://github.com/hundredrabbits/grimgrains/blob/master/LICENSE) and the **images, text and assets** are licensed under [BY-NC-SA 4.0](https://github.com/hundredrabbits/grimgrains/blob/master/LICENSE.by-nc-sa-4.0.md). View individual licenses for details.
  15. - Support this project through [Patreon](https://patreon.com/100).