This commit is contained in:
2025-11-09 21:38:45 -08:00
parent cbe6964910
commit 82d2269566
2 changed files with 3 additions and 0 deletions

View File

@@ -1,3 +1,4 @@
#!/bin/bash #!/bin/bash
source venv/bin/activate
gcloud builds submit --tag gcr.io/rothbard-staging2-12345/rothbard-app gcloud builds submit --tag gcr.io/rothbard-staging2-12345/rothbard-app
gcloud run deploy rothbard-app --image gcr.io/rothbard-staging2-12345/rothbard-app:latest --region us-central1 gcloud run deploy rothbard-app --image gcr.io/rothbard-staging2-12345/rothbard-app:latest --region us-central1

View File

@@ -11,6 +11,8 @@ import threading
from typing import List, Dict, Any, Optional from typing import List, Dict, Any, Optional
from datetime import datetime from datetime import datetime
import pytz import pytz
from dotenv import load_dotenv
load_dotenv()
# Add the current directory to the Python path so we can import app and models # Add the current directory to the Python path so we can import app and models
sys.path.append(os.path.dirname(os.path.abspath(__file__))) sys.path.append(os.path.dirname(os.path.abspath(__file__)))