This page allows you to set up deployment to the Jelastic cloud. After completing the setup, you can deploy your application to the cloud using the Run > Deploy to cloud main menu item.
Please note that only projects using PostgreSQL or HSQL databases are currently supported.
Configure cloud deployment - if checked, the cloud deployment will be configured in the build.gradle
file of the project.
If the project is not yet set up for cloud deployment, you can use the field on top to create a free trial Jelastic account. After completing your registration, enter the email, password and selected provider in the fields below.
The Jelastic Account section contains account and environment settings.
context.xml
file, see Custom context.xml path field below. Besides, you should create an empty PostgreSQL database using the provider's web interface link containing in the email. The database name should be specified later in custom context.xml
(see below).The WAR Building section contains the WAR building settings. You can leave default values and automatically generate web.xml
in the Custom web.xml path field.
web.xml
of the single WAR comprising the Middleware and Web Client application blocks. Click Generate to create this file automatically./WEB-INF/local.app.properties
file inside the generated WAR.The following settings are available if your project uses a PostgreSQL database.
context.xml
(Tomcat deployment descriptor) should be included in WAR file.context.xml
defining the database connection. If empty, Studio will copy the file from the local deployment. Click Generate to create this file automatically and specify the database host and credentials from the provider's email and a name of the database which you have created through the database management interface.