You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -45,23 +49,33 @@ GPT-Bayes consists of two main components:
45
49
46
50
## Deployment Guide
47
51
48
-
The application runs on Google Compute Engine (GCE) under the `gpt-bayes` project, accessible at `https://nextgen-mmm.pymc-labs.com`.
52
+
The application runs on Google Compute Engine (GCE) under the `gpt-bayes` project, accessible at `https://nextgen-mmm.pymc-labs.com` (production) and `https://dev-nextgen-mmm.pymc-labs.com` (development).
53
+
54
+
### Build and Push Docker Image
55
+
56
+
Build and push the Docker image to Google Artifact Registry (GAR).
57
+
```bash
58
+
./build.sh production # Build and publish to production
59
+
./build.sh development # Build and publish to development
60
+
```
49
61
50
62
### Standard Deployment
51
63
52
-
Use`deploy.sh` to update the application. This script handles:
64
+
Once the Docker image is built and pushed to GAR, use`deploy.sh` to update the application. This script handles:
53
65
- Updating the container in Google Artifact Registry (GAR)
54
-
- Deploying to the production environment
66
+
- Deploying to the specified environment
55
67
56
68
```bash
57
-
./deploy.sh
69
+
./deploy.sh production # Deploy the latest version to production
70
+
./deploy.sh development # Deploy the latest version to development
0 commit comments