To Turbo.net
Turbo supports deploying containers as standalone executables, MSIs and Turbo Virtual Machines (SVMs). Read this section to find out more about which deployment option and tools best fit your needs.
The Hub
The Hub is an online registry of Turbo images and provides a central location to archive and distribute applications. Once an application is packaged into a Turbo image using Turbo Studio or the command-line interface, the image can be uploaded to the Hub and accessed privately.
Images are pushed to the Hub using the command-line interface. The most common scenario is to create a container via the command line, commit the container to your local registry and then push the image to the Hub. However, it's also possible to start with an SVM output from Turbo Studio and push that to the Hub. Read below for details on each scenario.
Containers
Before pushing a container to the Hub, it needs to be committed to the local registry and converted into an image. Here is an example of the process of creating a container and publishing it on the Turbo Hub.
# Create a container with Java, Node.js and Git support
> turbo run oracle/jdk,nodejs/nodejs,git/git
# Shut down the container by typing exit into the new command window
> exit
# Get the container id for the last container
> turbo containers -l
# Commit the container to your local registry
> turbo commit 922e myimage
# Verify that the image is now in your local registry
> turbo images
# Push the image to the Hub
> turbo push myimage
To push a repository to an organization, include the name of the organization you are pushing to:
# Push image to organization myorg
> turbo push myimage orgname/reponame
Once the push is complete you can verify that the image is available on the Hub by going to the app.turbo.net/settings/repos or app.turbo.net/orgs/orgname/settings/repos in your browser.
SVMs
Here is an example of how you would deploy an SVM to the Hub.
# Import the SVM into your local registry with the name "myimage"
> turbo import -n=myimage svm \path\to\app.svm
# Verify that the image is now in your local registry
> turbo images
# Push the image to the Hub
> turbo push myimage
Once the push is complete you can verify that the image is available on the Hub by going to the app.turbo.net/settings/repos in your browser.
Using Turbo Studio
Turbo Studio provides a feature to deploy applications directly to your Turbo.net account. After completing the build process, see the Build section for details, click on the Publish to Server option on the ribbon menu.
You will be prompted to log in with your Turbo.net account information and then application will be added to your profile. Once the application has been added to your Turbo.net account, it will be accessible from any Turbo enabled device.