Skip to content

Quickstart: Sypnia Cloud

Deploy an app to Sypnia Cloud, open it at its address, ship a change and roll it back.

Applies to Cloud
View as Markdown
On this page
  1. Sign in
  2. Deploy the folder
  3. Add a secret
  4. Ship a change
  5. Roll back
  6. Next

At the end you will have an app online at https://<app>.sypnia.app, a second deploy, and a rollback.

  1. Sign in

    The CLI opens a browser for you to approve; the session stays on your machine.

    Terminal
    npx @sypnia/run login
    You should see
    Signed in as ana@example.com (organization: La Espiga).
  2. Deploy the folder

    From your app’s root folder:

    Terminal
    npx @sypnia/run deploy

    The first time it asks for the app’s name and which project of your organization it belongs to, and writes them to sypnia.toml at the root of the repository: project and the app’s [run.apps.<name>] table.

    You should see
    The build logs stream in your terminal and end with Production: https://laespiga.sypnia.app.
  3. Add a secret

    Terminal
    npx @sypnia/run env set DATABASE_URL --secret --env production

    The value is asked without echo and stored encrypted. The next deploy gets it at run time.

  4. Ship a change

    Change something and deploy again. Production moves to the new deploy when its build finishes and its health check passes.

    Terminal
    npx @sypnia/run deploy
    npx @sypnia/run deploys
    You should see
    Two deploys, the newest marked production.
  5. Roll back

    Terminal
    npx @sypnia/run rollback
    You should see
    Production points to the previous deploy in seconds. Nothing is rebuilt.

Next

  1. Sign in
  2. Deploy the folder
  3. Add a secret
  4. Ship a change
  5. Roll back
  6. Next

    Search pages, sections and terms