50156534c23758043cfb3f4995488a69cf483a36
* Create Dockerfile
* Create docker-image.yml
* Fix https://github.com/YunYouJun/cook/issues/12
* Format docker-image.yml
* Update docker-image.yml with two steps
* Format fix in docker-image.yml
https://github.com/henryclw/cook/runs/6186682354
* Format fix in Dockerfile
* Use official CI/CD of GitHub docker action
https://docs.docker.com/language/nodejs/configure-ci-cd/
* Fix typo in docker-image.yml
* Add last line in docker-image.yml
* Update docker-image.yml, use docker/login-action@v1
* Revert "Update docker-image.yml, use docker/login-action@v1"
This reverts commit f15e007225.
* Let docker image tag be the same as the branch name
https://stackoverflow.com/questions/58033366/how-to-get-the-current-branch-within-github-actions
* Let docker image tag be the same as the branch name, use branch name ${GITHUB_REF#refs/heads/}
* Use docker/metadata-action in docker-image.yml
https://github.com/docker/metadata-action
* Fix image name in docker/metadata-action in docker-image.yml
* Use master branch of docker/metadata-action in docker-image.yml
* Update docker in README.md, pull or build locally
* Use the latest tag if it is the default branch
* Remove empty lines in docker-image.yml
* Update name in docker-image.yml
* Update docker instructions in README.md
Resolved:
- https://github.com/YunYouJun/cook/pull/24#discussion_r860803527
- https://github.com/YunYouJun/cook/pull/24#discussion_r860807487
- https://github.com/YunYouJun/cook/pull/24#discussion_r860807702
* chore: update docs description
* Update README.md
Co-authored-by: 云游君 <me@yunyoujun.cn>
Cook
好的,今天我们来做菜 🥬
- 网站链接:cook.yunyoujun.cn
- 备用:cook.yyj.moe
参考
说明
本项目初衷是方便特殊时期隔离在家而材料有限的小伙伴,因此菜谱材料会尽量限制在特定范围内。
更多可参见 来做菜 | 关于。
欢迎反馈更多菜谱数据:
Features
本项目支持 PWA,使用浏览器打开时,可将其添加到主屏幕以获得近原生 APP 的体验。
开发
# install dependencies
pnpm install
# convert csv to json
# automatically executed when postinstall
pnpm convert
# start
pnpm dev
# http://localhost:3333
docker
你可以选择从 Docker Hub 拉取最新的镜像,或本地自行构建。
从 Docker Hub 拉取最新的镜像
# 从 Docker Hub 拉取最新的镜像
docker pull yunyoujun/cook:latest
# 启动容器,然后打开 http://localhost:3333
docker run -it -d --name cook_dev -p 3333:3333 yunyoujun/cook:latest
自己本地构建
# 本地构建
docker build . -t yourname/cook:localdev
# 启动容器,然后打开 http://localhost:3333
docker run -it -d --name cook_dev -p 3333:3333 yourname/cook:localdev
致谢
感谢以下小伙伴为本项目提供的数据支持和 QA !
- Runny
- 山竹太凉
- leo
- 麒麟
- 晴方啾
- 课代表阿伟
Sponsors
感谢至今以来的所有赞助者们!因为你们的支持让我更有动力去做各种尝试。
Languages
Vue
53.7%
TypeScript
35.4%
Kotlin
6%
SCSS
2.6%
Rust
0.8%
Other
1.4%