readme update

This commit is contained in:
xrando 2023-11-01 12:00:36 +08:00
parent ae1434990b
commit 2371fe4b42
1 changed files with 12 additions and 1 deletions

View File

@ -19,8 +19,19 @@ pip install -r requirements.txt
## Usage
```bash
# Run backend using docker-compose
# Run backend & frontend using docker-compose
docker-compose up
# Run backend using kubernetes
cd K8s
kubectl apply -f redis_deployment.yaml
kubectl apply -f backend_deployment.yaml
kubectl apply -f backend_service.yaml
# Run frontend locally
cd ../safeshare-frontend
npm install
npm start
```
## Endpoints