### Initialize VPS with Sidekick Source: https://github.com/mightymoud/sidekick/blob/main/README.md This command initiates the setup process for your Ubuntu VPS. It prompts for the VPS IP address and an email for SSL certificates, then configures Docker, Traefik, SSL, and security settings on the server. It typically takes around 2 minutes to complete and can warn if overriding existing configurations. ```bash sidekick init ``` -------------------------------- ### Install Sidekick CLI using Homebrew Source: https://github.com/mightymoud/sidekick/blob/main/README.md This command installs the Sidekick command-line interface on your local machine using Homebrew. Homebrew is a prerequisite for Sidekick, as it's also used for installing dependencies like `sops`. ```bash brew install sidekick ``` -------------------------------- ### Uninstall Sidekick CLI Tool Source: https://github.com/mightymoud/sidekick/blob/main/README.md To remove the Sidekick CLI tool from your system, use the `brew uninstall sidekick` command. This command is applicable for systems where Sidekick was installed via Homebrew. ```bash brew uninstall sidekick ``` -------------------------------- ### Launch a New Application with Sidekick Source: https://github.com/mightymoud/sidekick/blob/main/README.md The `sidekick launch` command initiates the deployment of a new application. It interactively prompts for details such as app name, exposed HTTP port, and domain. Sidekick automates building Docker images, transferring them to the VPS, encrypting environment variables, and setting up Traefik for traffic routing. ```bash sidekick launch ``` -------------------------------- ### Deploy a Preview Environment with Sidekick Source: https://github.com/mightymoud/sidekick/blob/main/README.md The `sidekick deploy preview` command allows creating temporary preview environments linked to specific Git commit hashes. It requires a clean Git tree and tags the Docker image with the commit checksum. Sidekick manages these preview deployments in a dedicated folder, making them accessible via hash-based subdomains. ```bash sidekick deploy preview ``` -------------------------------- ### Deploy a New Version of an Application with Sidekick Source: https://github.com/mightymoud/sidekick/blob/main/README.md The `sidekick deploy` command facilitates updating an existing application to a new version. It leverages Docker image caching for speed and performs zero-downtime deployments. The command also checks for changes in the `.env` file and re-encrypts it if necessary. ```bash sidekick deploy ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.