Skip to content

jonnio/snowflake-homework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Osborn Snowflake Homework

Deploy to GCP

# set the project default name. the project should have been created
# in cloud run ahead of time
gcloud config set project snowflakehomework
# run in us-east1 for lack of a better idea
gcloud config set run/region us-east1
# enable docker
gcloud auth configure-docker
#export requirements from poetry into requirements.txt that the Dockerfile can use
poetry export -f requirements.txt --output requirements.txt
# deploy the image to GCP
gcloud run deploy snowflake-homework --port 8080 --source .

Run Locally

We used Poetry for the build framework so let's use it!

poetry run uvicorn app.main:app --reload

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published