Back to ContainersConfiguration, or ContainersConfiguration Info
| At line 17 added 2 lines. |
| More detailed instructions are available [here|http://blogs.sun.com/arungupta/entry/first_jruby_on_rails_app] are [here|http://blogs.sun.com/arungupta/entry/mephisto_on_glassfish_v3]. |
| At line 21 changed 4 lines. |
| # Download Mephisto at http://mephistoblog.com/ |
| # Install MySQL |
| # Expand the downloaded zip in say mephisto directory |
| # change the mephisto/config/database.yml to have the following bindings : |
| * Download Mephisto at http://mephistoblog.com/ |
| * Install MySQL |
| * Expand the downloaded zip in say mephisto directory |
| * change the mephisto/config/database.yml to have the following bindings : |
| At line 33 changed 3 lines. |
| # Of course, you need the MySQL JDBC driver in jruby/lib, you can find it at [http://www.mysql.com/products/connector/j/index.html] |
| # Configure MySQL for mephisto, this is described in mephisto's installation page at [http://mephisto.stikipad.com/help/show/Installing+Mephisto] |
| # add jdbc to the required packages of the application by adding the following to config/environment.rb |
| * Of course, you need the MySQL JDBC driver in jruby/lib, you can find it at [http://www.mysql.com/products/connector/j/index.html] |
| * Configure MySQL for mephisto, this is described in mephisto's installation page at [http://mephisto.stikipad.com/help/show/Installing+Mephisto] |
| * add jdbc to the required packages of the application by adding the following to config/environment.rb |
| At line 42 changed 1 line. |
| # deploy the application |
| * deploy the application |
| At line 46 changed 1 line. |
| # browse : http://localhost:8080/mephisto |
| * browse : http://localhost:8080/mephisto |
| At line 56 changed 4 lines. |
| # download quercus from [http://quercus.caucho.com/] |
| # explode the .war file you just downloaded : jar -xvf quercus...war |
| # download the GlassFish V3 connector from [http://download.java.net/maven/glassfish/com/sun/enterprise/glassfish/gf-php-connector/10.0-SNAPSHOT/gf-php-connector-10.0-SNAPSHOT.jar] and install it in <glassfish>lib directory |
| # from the exploded quercus directory do : |
| * download quercus from [http://quercus.caucho.com/] |
| * explode the .war file you just downloaded : jar -xvf quercus...war |
| * download the GlassFish V3 connector from [http://download.java.net/maven/glassfish/com/sun/enterprise/glassfish/gf-php-connector/10.0-SNAPSHOT/gf-php-connector-10.0-SNAPSHOT.jar] and install it in <glassfish>lib directory |
| * from the exploded quercus directory do : |
| At line 65 changed 1 line. |
| # browse http://localhost:8080/index.php you should see a success message from quercus indicating a valid installation. |
| * browse http://localhost:8080/index.php you should see a success message from quercus indicating a valid installation. |