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

  1. Prepare the sample for building. (Not required for the Web Sample.)

    py sample.py prepare
    
  2. Build the sample project and website.

    py sample.py build
    
  3. 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.

  1. Prepare the sample for building. (Not required for the Web Sample.)

    py sample.py -c [clusterid] prepare
    
  2. Build the sample project and website.

    py sample.py -c [clusterid] build-cloud
    
  3. Upload the sample to the cloud.

    py sample.py -c [clusterid] upload-images
    
  4. Load the sample.

    py sample.py -c [clusterid] load