OpenWaterFoundation / owf-app-snodas-ng

Open Water Foundation SNODAS snowpack user interface built with Angular
0 stars 0 forks source link

Add script to deploy the application to the State's GCP #27

Closed smalers closed 2 years ago

smalers commented 2 years ago

The existing snodas.state.co.us GCP storage bucket has the following top folders:

With the goal of keeping the old application around for a bit, and building on experience with other applications, I recommend the following to deploy the latest Angular application.

The above allows the URL to be something like: https://snodas.state.co.us/latest/ or https://snodas.state.co.us/2.0.0, the latter being useful for testing. When in place, this will allow viewing the files uploaded by the GIS process.

Nightsphere commented 2 years ago

The script has been completed and lives in the build-util/ folder as copy-to-dnr-gcp.bash. The copy-to-owf-amazon-s3.sh bash script to sync to AWS from the owf-infomapper-poudre repo was used as a foundation.

Closing the issue.