Update Installed Samples
When you upgrade your Genvid MILE SDK installation from an ealier version, you need to update your installed samples along with your own project.
Except for the Web Sample, the update steps are the same for all the samples–only the Python script you use is different. The Web Sample doesn’t need the prepare step.
Update a Local Version
Prepare the sample for building. (Not required for the Web Sample.)
py sample.py prepare
Build the sample project and website.
py sample.py build
Load the sample.
py sample.py load
Update a Cloud Version
In the following instructions, [clusterid] is the name of the cluster you created previously to run the sample. For information on creating clusters, see Set Up a Bastion Server.
Prepare the sample for building. (Not required for the Web Sample.)
py sample.py -c [clusterid] prepare
Build the sample project and website.
py sample.py -c [clusterid] build-cloud
Upload the sample to the cloud.
py sample.py -c [clusterid] upload-images
Load the sample.
py sample.py -c [clusterid] load