Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titleOn Linux
export INSTANCE_NAME=joget7
export IMAGE_ID=ubuntu-1804-bionic-v20200129a
export IMAGE_PROJECT=gce-uefi-images
export MACHINE_TYPE=n1-standard-1
export JOGET_VERSION=78.0.0
export MYSQL_VERSION=5.7
export MYSQL_PASSWORD=root

echo "== Create VM instance $INSTANCE_NAME for $IMAGE_ID on $MACHINE_TYPE =="
gcloud compute instances create $INSTANCE_NAME --image $IMAGE_ID --image-project $IMAGE_PROJECT --machine-type=$MACHINE_TYPE
Code Block
titleOn Windows
set INSTANCE_NAME=joget7
set IMAGE_ID=ubuntu-1804-bionic-v20200129a
set IMAGE_PROJECT=gce-uefi-images
set MACHINE_TYPE=n1-standard-1
set JOGET_VERSION=78.0.0
set MYSQL_VERSION=5.7
set MYSQL_PASSWORD=root
 
echo "== Create VM instance %INSTANCE_NAME% for %IMAGE_ID% on %MACHINE_TYPE% =="
gcloud compute instances create %INSTANCE_NAME% --image %IMAGE_ID% --image-project %IMAGE_PROJECT% --machine-type=%MACHINE_TYPE%

...