JotsuDocs
Product documentationbeginnerยท10 minutes

Deploy an application

Deploy the current Jotsu application source from its app page, follow each publishing step, and verify the resulting production URL.

Deploy after the development preview works with the production configuration your application requires.

Publish the current version

  1. Open the application and verify its primary workflow in the development preview.
  2. Open Settings and confirm required environment variables are present.
  3. Select Deploy app on the application page.
  4. Follow the live deployment steps in the dialog.
  5. Open the deployed URL after the status becomes DEPLOYED.
  6. Repeat the primary workflow against the deployed application.

For later releases, the button reads Redeploy app. Plan database migrations and recovery before deploying changes that alter stored data.

Detect the runtime environment

Jotsu sets ENVIRONMENT automatically:

  • Development previews and local clones use development.
  • Deployed applications use production.

Read this variable in server-side code when behavior must differ by runtime. You do not need to add it in Environment variables, and Jotsu does not allow it to be overridden.