add README.md

This commit is contained in:
SoulGateKey 2024-10-05 08:25:03 +08:00
parent 25ea18b871
commit a31e8ce776

20
README.md Normal file
View File

@ -0,0 +1,20 @@
# Mai2Frontend
## How to use?
### Prepare
- Rename config_example.yaml to config.yaml
- Fill in your artemis database ip and password
- go frontend/ and run
'npm install'
'npm install vite@latest --save-dev'
'npm install @vitejs/plugin-vue --save-dev'
'
### Run
- run ./backend/app.py as backend. If you need,change the flusk ip and port in config.yaml and App.vue
- run 'npm run dev' in frontend/
- Remember to install all the need dependencies
## WIP