For a long period of time, we give our users the opportunity to participate in the improvement of the Jelastic platform by voting for new features. According to the voting results, we implemented in Jelastic support for one of the most popular frameworks - Play! .
Let's look at a small example of how to play a Play! -Application into the Jelastic environment.
Create an environment on Jelastic, it only takes a few minutes (for example, use the application server Tomcat 6, MySQL database, the name of the environment playframework ).
Go to the MySQL admin page and create a new user and database with all privileges (when creating the environment, you received a message with a login and password to enter the MySQL admin page). ')
Do not forget to download the MySQL connector to the lib (Tomcat) folder.
Use the command line to start Play! framework and install the Jelastic module: …\play-1.2.4>play …\play-1.2.4>play install jelastic
After installing the module, create a new application with Jelastic support: …\play-1.2.4>play new jelasticapp – -with=jelastic
Next, you need to make changes to your project's application.conf file:
Uncomment the part of the file that is responsible for the configuration of the Jelastic account and make any necessary changes: