Deploying Flex Apps
2 minutes to readTo make your applications available to users, you can deploy them to an environment that can be hosted by Caspio or by a third-party hosting service. With the introduction of the Caspio-hosted environment in Flex, you can quickly and easily deploy your applications without third-party hosting services.
Flex provides an enhanced deployment process through a new user interface that streamlines the management of application deployment. This improvement allows you to deploy a single AppPage or the entire application segment, depending on your needs.
The new UI provides a simple and intuitive way to manage the deployment process, from selecting the application to deploy, to configuring the necessary settings for the intended environment.
Deploying Apps Internally to the Caspio Environment
For the internal deployment, Caspio provides you with a hosting for the application pages so that you do not need to handle the deployment and hosting services for your app separately.
To deploy an app internally:
- From the bottom left menu, select Deployment.
- Turn on the Deployment status switch for an AppPage you want to deploy.
- Click the link to open it in a browser.
You can adjust the page URL to your needs. To do that:
- In the Deployment screen, hover over an AppPage for which you want to edit the URL.
- Click the pencil icon near the page URL.
- In the dialog that appears, edit the URL address.
- Save the changes.
Note: The URL for your page must be unique within the account.
Deploying Apps Externally to Third-Party Hosting Services
Deploying your apps externally enables you to embed your AppPage seamlessly into a web page. This method requires the use of JavaScript in your browser, which is supported in all modern browsers.
To deploy an app externally:
- From the bottom left menu, select Deployment.
- Turn on the Deployment status switch for an AppPage you want to deploy.
- Hover over an AppPage and select Deployment code.
- Copy and paste the code into the source code of your web page.
You can deploy and undeploy all AppPages from one role segment with only one click. To do that, select the More button in the upper right corner and click Deploy all or Undeploy all.