Add an AppSail Service
Introduction
AppSail is a serverless PaaS offering of Catalyst that you can use to deploy apps of any scale and manage platform instances. You can build and deploy AppSail services in any frameworks of the three supported programming environments: Java, Node.js, Python.
You can associate an existing Catalyst project directory with an app using this command. If you have not initialized a project for your app, you can initialize an AppSail service with the project. Additionally, you can directly deploy an AppSail app without initialization through the standalone command.
Add a Service
You can add an AppSail service directly in your app’s directory, or from a new directory in the following manner:
- Execute the command given below from the CLI:
- Select if this will be your source directory of your app by entering “Y”. If you enter “N”, the CLI will prompt you to type in a directory path for your app’s source. Press Enter after the entries.
- Select the build path for your app from the list and press Enter.
- Enter a name for your app. You can name the main file of your app’s build anything you prefer.
- Select a stack and runtime for your app and press Enter.
If you select Java, the CLI will further prompt you to pick either Java SE or the Java WAR as your app’s deployable format. You can learn more about this here.
If you select any other stack, this will be skipped.
AppSail is now linked with your app, and the app is now associated with the Catalyst project. The configurations will be updated in catalyst.json file accordingly.
AppSail will only create a single configuration file, app-config.json, in your app’s source directory. You can learn more about this from the Project Directory Structure help page.
Last Updated 2024-01-04 12:37:42 +0530 +0530
Yes
No
Send your feedback to us