Skip to content

Commit

Permalink
Merge pull request #1 from l10178/react
Browse files Browse the repository at this point in the history
switch to react.js
  • Loading branch information
l10178 authored Mar 17, 2024
2 parents 4146f1b + 4867643 commit 3e1086f
Show file tree
Hide file tree
Showing 140 changed files with 19,379 additions and 2,133 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/gh-pages.yml
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
25 changes: 24 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ typings/
npm-debug.log*
*.apk
*.keystore
package-lock.json
# package-lock.json

.idea/
.ionic/
Expand All @@ -39,3 +39,26 @@ Thumbs.db
UserInterfaceState.xcuserstate

*.iml
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# production
/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
52 changes: 0 additions & 52 deletions .travis.yml

This file was deleted.

21 changes: 0 additions & 21 deletions LICENSE

This file was deleted.

26 changes: 25 additions & 1 deletion README.md
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.
194 changes: 0 additions & 194 deletions angular.json

This file was deleted.

Loading

0 comments on commit 3e1086f

Please sign in to comment.