Upload your dizmo to dizmoStore

When you upload a dizmo to dizmoStore, you will be flagged as its owner and developer. You can only change and update a dizmo that you own.

Should you see the error message "Request requires role 'developer' - Error Nr.: 1006", you are not enrolled as a developer. Only enrolled developers can upload and distribute dizmos on dizmoStore. You can read more on how to become an enrolled developer.

The state of a newly uploaded dizmo is "unpublished", thus, it is not publicly visible in dizmoStore. When you are ready, please change the state of your dizmo to "published", so that it will be publicly visible and dizmo users can download it.

Upload

Before you can upload your dizmo, you have to set the mandatory parameters in the project.cfg file as listed in chapter Configuration.

Remember to set the URL either globally in the .grace/grace.cfg file or on a project-basis in the project.cfg file:

// globally
.grace.cfg
{
    "urls": {
        "dizmo_store": "https://store-api.dizmo.com/v1"
    }
}

// project-basis
project.cfg
{
    // Settings for dizmo specific keys
    "dizmo_settings": {
        // existing configurations
        "urls": {
            "dizmo_store": "https://store-api.dizmo.com/v1"
        }
    }
}

Use the command python manage.py upload to upload your dizmo to dizmoStore. This command will build, package (zip and rename extension) and upload to dizmoStore in one step. The target path of the package is specified in .grace.cfg or in project.cfg.

Update

You can not upload a dizmo with the same version number more than once. Should you encounter the error message "Dizmo version already existing in store - Error Nr.: 1208" when uploading a dizmo, make sure you update the version in project.cfg e.g from 0.1 to 0.2 before you attempt to upload again.

Publish

The command python manage.py publish sets the status of your dizmo to "published", so that it is publicly visible in dizmoStore.

Unpublish

You can set the status of your dizmo to "unpublished", so that it is no longer publicly visible with python manage.py unpublish.

Check the publication status

Check the publication status of your dizmo with python manage.py publish:display.