HowToCook Documentation

Programmer's guide about how to cook at home.

101,695 stars Unknown 1 file · ~4,585 tokens #chinese#cookbook#cooking#dishes#recipes
RAW Doc

1. Project Overview & Quickstart (Anduin2017/HowToCook)

程序员做饭指南





最近宅在家做饭,作为程序员,我偶尔在网上找找菜谱和做法。但是这些菜谱往往写法千奇百怪,经常中间莫名出来一些材料。对于习惯了形式语言的程序员来说极其不友好。

所以,我计划自己搜寻菜谱并结合实际做菜的经验,准备用更清晰精准的描述来整理常见菜的做法,以方便程序员在家做饭。

同样,我希望它是一个由社区驱动和维护的开源项目,使更多人能够一起做一个有趣的仓库。所以非常欢迎大家贡献它~

浏览菜谱

请直接访问 HowToCook 网站浏览菜谱可视化:

https://howtocook.aiursoft.com/

本地部署

如果需要在本地部署菜谱 Web 服务,可以在安装 Docker 后运行下面命令:

bash
docker pull aiursoft/howtocookviewer
docker run -d -p 5000:5000 aiursoft/howtocookviewer

默认用户名密码: admin,Admin@123456!。启动后 30 分钟内会自动索引。

如何贡献

针对发现的问题,直接修改并提交 Pull request 即可。

在写新菜谱时,请复制并修改已有的菜谱模板: 示例菜。

搭建环境

菜谱

素菜

荤菜

水产

早餐

主食

半成品加工

汤与粥

饮料

酱料和其它材料

甜品

进阶知识学习

如果你已经做了许多上面的菜,对于厨艺已经入门,并且想学习更加高深的烹饪技巧,请继续阅读下面的内容:

衍生作品推荐

2. Official Technical Reference & Guides (Anduin2017/website)

Vikunja Homepage

This project holds the source code for the Vikunja homepage at vikunja.io.

🚀 Project Structure

Inside of your Astro project, you'll see the following folders and files:

text
/
├── public/
│   └── favicon.svg
├── src/
│   ├── components/
│   │   └── Card.astro
│   ├── layouts/
│   │   └── Layout.astro
│   └── pages/
│       └── index.astro
└── package.json

Astro looks for .astro or .md files in the src/pages/ directory. Each page is exposed as a route based on its file name.

There's nothing special about src/components/, but that's where we like to put any Astro/React/Vue/Svelte/Preact components.

Any static assets, like images, can be placed in the public/ directory.

🧞 Commands

All commands are run from the root of the project, from a terminal:

Command Action
pnpm install Installs dependencies
pnpm run dev Starts local dev server at localhost:4321
pnpm run build Build your production site to ./dist/
pnpm run preview Preview your build locally, before deploying
pnpm run astro ... Run CLI commands like astro add, astro check
pnpm run astro -- --help Get help using the Astro CLI

👀 Want to learn more?

Feel free to check our documentation or jump into our Discord server.