Update Installed Samples

When you upgrade your Genvid SDK installation from an ealier version, you need to update your installed samples along with your own project.

The update steps are the same for all the samples–only the Python script you use is different.

Update a Local Version

  1. Prepare the sample for building.

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

    py tutorial.py build
    
  3. Load the sample.

    py tutorial.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 Creating a Cluster.

  1. Prepare the sample for building.

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

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

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

    py tutorial.py -c [clusterid] load