set gbl="Com*D.GBL,His*D.GBL"
s fn="DCPublic_globals.gz"
s s=##class(%Stream.FileBinaryGzip).%New() do s.LinkToFile(fn) do $System.OBJ.ExportToStream(gbl,s,"/mapped") do s.%Save() kill s
docker-compose build --no-cache --progress=plain
docker-compose exec iris iris session iris -U IRISAPP
$System.OBJ.Export("GlobalName.GBL","/irisdev/app/src/gbl/globalname.xml")
$ base64 iris-community-demos-09899421cfc4.json | tr -d '\n'
ghcr.io/intersystems-community/atscale-server:2021.3.0.3934
To use this alternative image you need to authorize docker to download images from ghcr.io.
Login requires your GitHub account credentials, run the command in the terminal:
$ docker login ghcr.io
> Username: your_username
> Password: your_github_token
When entering a password, you need to use the GitHub access token, you can read how to get it at the link.
In the "GitHub access token" settings, should be opened access to read packages from the GitHub package registry:
You can use this comand to copy scripts inside AtScale container
docker cp path_to_repo/Public-InterSystems-Developer-Community-analytics/iris/src/aggregate_tables_update_shedule_scripts/aggreagtes_update_instant.sh public-intersystems-developer-community-analytics_atscale_1:/root/aggreagtes_update_instant.sh
Next step you run a script by this command:
docker exec -it public-intersystems-developer-community-analytics_atscale_1 aggreagtes_update_instant.sh