Skip to content

Test environment and going live

After the move, you keep developing your app, with Lovable, Manus, Cursor, Claude or a developer. Sovyn makes sure new code goes live by itself. With a test environment you can look at it in peace first.

If your project only has production, every piece of new code on your repository’s default branch (usually main) goes live automatically. On the overview, the go-live step under Migration steps says Goes live automatically when new code lands on ….

If you don’t want that, turn off Automatic go-live with the switch next to it. New code then only goes live when you click Set up again on the overview.

Sovyn, overview, go-live step of production: note “Goes live automatically when new code lands on main” with the “Toggle automatic go-live” switch
  1. At the top of the app page, click Add test environment.

  2. Under Git branch, choose the branch the test environment should publish, usually the one you develop on. If the branch doesn’t exist yet, Sovyn creates it.

  3. Keep Copy the app settings from production switched on if the test environment should use the same credentials. You can change them one by one later.

  4. Click Add test environment & go live.

Sovyn, “Add a test environment” window: “Git branch” field, checkbox “Copy the app settings from production”, note about the empty database and the “Add test environment & go live” button

The test environment gets its own running app, its own address and its own empty database. It shares file storage and email sending with production.

How code goes live when there is a test environment

Section titled “How code goes live when there is a test environment”
  • The test environment goes live automatically as soon as new code lands on its branch.
  • Production stays on the state you last took live. The go-live step then shows Held at state …. New code only reaches your users when you take it live on purpose.
  1. At the top, choose the test environment and try out the app at its address.

  2. If everything looks good, switch back to Production at the top. The button for taking code live only appears there.

  3. In the Migration steps, click Promote Test environment (staging).

  4. The window shows which state goes live and which one is currently running in production. Confirm with Take it live.

Sovyn, “Take Test environment (staging) live?” window: comparison “Test environment (staging) is serving” and “Production is running” with code states and the “Take it live” button

Production takes over exactly the code state the test environment is serving right now. Nothing changes in Git.

If production should follow the newest code automatically again, choose Release hold (follow newest code again) under More actions and confirm with Release & go live. The newest code then goes live right away, even if it was never checked in the test environment.

See Pause and delete.