- python3.8 +
- GCP Compute Engine (ubuntu)
- GCP Cloud Storage
- GCP Cloud SQL(mysql)
- GCP Cloud Memorystore
- GCP credential
sh install.sh
Update information in CNF.py
BUCKET_NAME = ""
BROKER_URL = "redis://0.0.0.0:6379/0"
DB_USER = ""
DB_PASSWORD = ""
DB_HOST = ""
DB_DATABASE = ""
source venv/bin/activate
export GOOGLE_APPLICATION_CREDENTIALS=<absolute_path_of_your_credential.json>
uvicorn main:app --host 0.0.0.0 --port 8080
source venv/bin/activate
export GOOGLE_APPLICATION_CREDENTIALS=<absolute_path_of_your_credential.json>
celery -A celery_worker.celery worker --loglevel=info