Skip to content

Commit

Permalink
README.md: add some more CLI deployment hints
Browse files Browse the repository at this point in the history
  • Loading branch information
pkgw committed Jul 12, 2022
1 parent fb8378b commit 95b2284
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,14 @@ build, or maybe to monkey with your client's local cache.)

When a data update is ready to issue, these files should be able to be uploaded
directly into the `catalog` blob container of the `wwtfiles` storage account.
At that point:
This can be done from the command line with something like this:

```sh
export AZURE_STORAGE_CONNECTION_STRING=secret-for-wwtfiles
az storage azcopy blob upload -c catalog -s jwst.wtml
```

After that:

- the `wwt6_login.txt` file needs to be updated to trigger the clients to pull
down the new data,
Expand Down Expand Up @@ -133,7 +140,7 @@ on Azure. A CDN purge will be needed to update the search data for the
production webclient. The upload can be done from the CLI with:

```sh
export AZURE_STORAGE_CONNECTION_STRING=secret-for-wwtfiles
export AZURE_STORAGE_CONNECTION_STRING=secret-for-wwtwebstatic
az storage azcopy blob upload -c '$web' -s searchdata_v2.min.js -d data/
```

Expand Down

0 comments on commit 95b2284

Please sign in to comment.