Closed smalers closed 3 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.
The existing
snodas.state.co.us
GCP storage bucket has the following top folders:app
- legacy HTML applicationdata
- data folders, used by legacy and new applicationtest
- not sureWith 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.
2.0.0
folder, under which will be all the normal Angular files includingindex.html
,assets
, etc.latest
folder. This is a copy of the most recent versioned folder that is OK for production use.build-util/copy-to-co-dnr-gcp.bash
to be consistent with other State work.The above allows the URL to be something like:
https://snodas.state.co.us/latest/
orhttps://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.