Blossom Docs
Blossom

Learn

Deploy with the CLI

Deploy your own repository from a terminal and finish with its live URL. The examples use a Sinatra App named demo with a web Service.

Install and log in

Install the CLI and sign in to the Account where you want to deploy.

curl -fsSL https://cli.blossom88.com/install.sh | sh
blossom login

For profiles and token-based login, see Install and Log In.

With a coding agent

Install the Blossom skill, then open your coding agent in the repository:

blossom skill:install

Your agent runs the commands below and waits for your approval before it deploys.

Run the commands yourself

  1. Choose your cloud and Location.

    blossom location:list
    blossom profile:set --location location-100
    
  2. Create an App.

    blossom app:create -d '{"app":{"name":"demo"}}'
    
  3. Set up its Environment with the source, a web Service, and variables. If your App needs PostgreSQL, add a database too.

    blossom environment:create -d '{"environment":{"name":"production","app_id":"app-100"}}'
    blossom git_repo:create --data git_repo.yml
    blossom service:create --data service.yml
    
  4. Deploy and follow the logs.

    blossom environment:deploy --id environment-100 --follow
    

Replace location-100, app-100 and environment-100 with the IDs each command prints.

Watch it go live

The deploy streams the build and release, then prints your App’s URL beside App:. Abbreviated:

$ blossom environment:deploy --id environment-100 --follow
Deploy requested for production (environment-100)
Logs: blossom activity:logs --id activity-100 --follow
2026-11-05 07:34:43 AM UTC === Build ===
2026-11-05 07:34:43 AM UTC Build region: Falkenstein, Germany · x86 · builder-fsn1-x86.
2026-11-05 07:37:31 AM UTC Preparing source.
Building 6dcda40 with buildpack.
…
2026-11-05 07:38:41 AM UTC === Deploy ===
2026-11-05 07:38:54 AM UTC Waiting for the new web container to join the load balancer.
2026-11-05 07:40:03 AM UTC The new web container (container-100) is receiving traffic.
2026-11-05 07:41:12 AM UTC Deployment completed successfully.

App: https://demo-production-web-1a2b3c4d.g-x9y8.app.onblsm.dev

To see this deployment again, run blossom environment:activity --id environment-100, or open Activity in the Environment.

What You Get

  • Your repository running as the demo App’s production Environment
  • A public HTTPS URL for its web Service
  • Every deploy and its logs, from the terminal or the web UI

Finished testing? Clean up the resources you created.

On this page