Getting started
Quickstart
Step 1: Install and Set Up the Deckrun CLI
Follow the instructions on the Install Deck CLI page to install and configure Deckrun CLI.
Step 2: Add a Provider
Create a new Personal Access Token in DigitalOcean with full access permissions and save it for the next step.
Add your Personal Access Token using the CLI with the following command:
deck providers add
Step 3: Create a Cluster
The next step is to create the cluster where your applications will run. This process may take up to 15 minutes.
Specify the provider, the cluster name, the number of nodes, and their size:
deck clusters create
Once the cluster is created, Deckrun will automatically install additional components. If a Container Registry does not exist in your provider, Deckrun will provision one.
Step 4: Initialize an Application
Navigate to your project directory and initialize a new application in Deckrun:
cd my-app/
deck init
Your application is now created in Deckrun and ready to be deployed.
Step 5: Deploy an Application
Deploy the application using:
deck deploy
Deckrun will analyze your code, generate a Docker image, upload it to the registry, and deploy it automatically.
Step 6: Access Your Application
Once deployed, Deckrun provides a public URL to access your application. Open the URL in your browser to see your application live.