Sign inSign up

thinkgeo/cli-test

By thinkgeo

•Updated almost 4 years ago

A simple linux container for testing the ThinkGeo licensing CLI tool in linux.

Image
0

45

thinkgeo/cli-test repository overview

test-app.zip and ThinkGeo.ProductCenter.CLI.zip are in /var. test-app.zip is a console application using ThinkGeo.Core only.

Step 1. Run the test-app without a license installed.

cd /var
unzip test-app.zip -d test-app
cd /var/test-app/app/bin/Debug/net6.0
dotnet Test.dll

A ./test.png file will be generated, and you can use docker cp to copy it to local, and see that it has a watermark on the image.

Step 2. Generate license using ThinkGeo.ProductCenter.CLI.dll

unzip ThinkGeo.ProductCenter.CLI.zip -d product-center-cli
cd /var/product-center-cli
dotnet ThinkGeo.ProductCenter.CLI.dll // this command would show the usage of the cli
dotnet ThinkGeo.ProductCenter.CLI.dll /activateproductiondeploymentlicense /username:[name] /password:[password]

Step 3. Copy the license from the .local/share/ThinkGeo/Map Suite 13.0 directory into the application directory

 cp ~/.local/share/ThinkGeo/Map\ Suite\ 13.0/MapSuiteDeployment.lic /var/test-app/app/bin/Debug/net6.0

Step 4. After the license is generated and copied to the app directory, repeat step1, and the 'unlicensed for runtime' watermark will be removed.

Tag summary

Content type

Image

Digest

sha256:2aa15bee8…

Size

272.6 MB

Last updated

almost 4 years ago

docker pull thinkgeo/cli-test