-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from l10178/react
switch to react.js
- Loading branch information
Showing
140 changed files
with
19,379 additions
and
2,133 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: deploy github pages | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 20 | ||
|
||
- name: Install dependencies | ||
run: npm ci | ||
|
||
- name: Build site | ||
run: npm run build | ||
|
||
- name: Deploy github pages | ||
uses: peaceiris/actions-gh-pages@v3 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: ./build | ||
cname: yao.xlabs.club |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,26 @@ | ||
# tuna | ||
庄周吃鱼,利用云计算、大数据、区块链等技术,解决三餐吃什么的问题。 | ||
|
||
庄周吃鱼,利用云计算、大数据、区块链、AI 等技术,解决三餐吃什么的问题。 | ||
|
||
## 本地开发 | ||
|
||
本项目使用 [React](https://react.dev/) 开发,需要本地安装 Node 20 以上版本。 | ||
|
||
```bash | ||
# 安装依赖包 | ||
npm install | ||
# 启动项目 | ||
npm start | ||
|
||
``` | ||
|
||
## 定制开发 | ||
|
||
定制实现 Recipe 以下 API: | ||
|
||
- catalog | ||
- recipes | ||
|
||
## License | ||
|
||
Licensed under Apache-2.0. |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.