Skip to content

Commit

Permalink
Add deployment instructions (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
nfcampos authored Oct 12, 2023
1 parent b3e7918 commit 034b9d1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,3 +182,12 @@ If you need to add authentication to your server,
please reference FastAPI's [security documentation](https://fastapi.tiangolo.com/tutorial/security/)
and [middleware documentation](https://fastapi.tiangolo.com/tutorial/middleware/).

## Deployment

### Deploy to GCP

You can deploy to GCP Cloud Run using the following command:

```
gcloud run deploy [your-service-name] --source . --port 8001 --allow-unauthenticated --region us-central1 --set-env-vars=OPENAI_API_KEY=your_key
```

0 comments on commit 034b9d1

Please sign in to comment.