请在final分支下运行!!!
- 项目文件夹Travel.ai
npm install yarn
yarn install
yarn add @chakra-ui/react @emotion/react @emotion/styled framer-motion (may be needed)
npm run dev
-
在自己电脑的端口可以渲染出网页的具体内容,可能是类似 https://localhost:3000 这样的页面
-
You can start editing the page by modifying
app/page.tsx
. The page auto-updates as you edit the file. -
This project uses
next/font
to automatically optimize and load Inter, a custom Google Font. -
项目文件夹Travel.ai\backend
pip install [package needed]
python main.py
- 项目文件夹Travel.ai\langserve
pip install [package needed]
python server.py
- 代码统一提交到dev分支,检查无误后,然后再merge到master分支
git checkout dev
- 代码提交之前需要拉取仓库,统一其他人的代码进度,可能需要手动解决冲突,在此不赘述
git pull
git pull
- 代码提交命令序列
git checkout dev // 切换分支
git add . // 切换到项目路径后!添加全部文件
git commit -m "commit-message"
git push
总结:分支要确保是dev,提交前先拉取