Deploying in linux environment

Hi,

Is it possible if I would like to deploy the application using CUBA platform in the linux environment? If possible, may I know the steps to do so?

Hi,

Your question is answered on the product documentation: CUBA Tomcat deployment linux (7.0 beta docs, but also available in previous versions).

Very short: you need an application server and, likely, a database. All major linux distributions have both tomcat and postgresql packaged so installing them shall be no problem.
Then you build the .war file as instructed on the documentation and deploy it to the webapps/ dir of tomcat (normally under /var/lib/tomcat).

The documentation also explains uberJar deployment which would not require tomcat and you can run directly as any linux process (maybe under supervisord?) and the docker deployment which might be a bit more complicated depending your background

2 Likes

In relation to OP’s question, when deploying to our own tomcat, do we need to copy any libs from the version bundled with Studio?

If you deploy WAR / Single WAR there is no need to copy libs. If you deploy exploded webapps, do not forget to copy tomcat/shared/lib and jdbc driver from tomcat libs.