Skip to main content

thermostat upload

This command will upload the data files for the application that is deployed in the current directory to the Thermostat API. It will also export the MariaDB database associated with the application into the data folder first. You can use the --stage option to associate the uploaded data with a different stage than the deployed application's stage. For example if you are working on your local development environment and you have an application deployed on the "development" stage but you want to upload your local data so that it will be accessible by a staging environment that uses the "staging" stage, you can run thermostat upload --stage=staging.

Usage:
$ thermostat upload

Options:
--no-export-database [boolean] Do not export the database before uploading the application data.
--stage [string] Override the stage that you are uploading to (production, staging, or development)
--custom-stage [boolean] Allow the application to be uploaded with a custom stage name.