Monday June 30, 2008
Substruct on GlassFish v3 - Ruby-on-Rails E-Commerce Application
![]() |
Substruct is an open-source E-Commerce project written using Ruby-on-Rails framework. It provides a simple e-commerce platform, content management system and customer response system - all in one. |
| ~/samples/jruby
>gunzip -c
substruct_rel_1-0-a3.tar.gz | tar xvf - substruct_rel_1-0-a3/ substruct_rel_1-0-a3/app/ substruct_rel_1-0-a3/app/controllers/ substruct_rel_1-0-a3/app/controllers/application.rb . . . substruct_rel_1-0-a3/vendor/rails/railties/test/rails_info_test.rb substruct_rel_1-0-a3/vendor/rails/railties/test/secret_key_generation_test.rb substruct_rel_1-0-a3/vendor/rails/Rakefile substruct_rel_1-0-a3/vendor/rails/release.rb |
| ~/samples/jruby
>~/testbed/jruby-1.1.2/bin/jruby
-S gem install RedCloth fastercsv mime-types mini_magick ezcrypto
jruby-openssl
--no-ri --no-rdoc JRuby limited openssl loaded. gem install jruby-openssl for full support. http://wiki.jruby.org/wiki/JRuby_Builtin_OpenSSL Bulk updating Gem source index for: http://gems.rubyforge.org/ Successfully installed RedCloth-3.0.4 Successfully installed fastercsv-1.2.3 Successfully installed mime-types-1.15 Successfully installed rubyforge-1.0.0 Successfully installed hoe-1.5.3 Successfully installed mini_magick-1.2.3 Successfully installed ezcrypto-0.7 Successfully installed jruby-openssl-0.2.3 8 gems installed |
| ~/samples/jruby/substruct_rel_1-0-a3
>~/testbed/jruby-1.1.2/bin/jruby
-S rake db:create (in /Users/arungupta/samples/jruby/substruct_rel_1-0-a3) [SUBSTRUCT WARNING] Mail server settings have not been initialized. Check to make sure they've been set in the admin panel. |
| ~/samples/jruby/substruct_rel_1-0-a3
>~/tesbted/jruby-1.1.2/bin/jruby
-S rake substruct:db:bootstrap (in /Users/arungupta/samples/jruby/substruct_rel_1-0-a3) Checking requirements... Initializing database... [SUBSTRUCT WARNING] Mail server settings have not been initialized. Check to make sure they've been set in the admin panel. -- create_table("content_nodes", {:force=>true}) -> 0.3020s -- add_index("content_nodes", ["name"], {:name=>"name"}) -> 0.0140s -- add_index("content_nodes", ["type", "id"], {:name=>"type"}) . . . -- initialize_schema_information() -> 0.0200s -- columns("schema_info") -> 0.0650s Clearing previous data... Removing all sessions... Loading default data... ...done. ================================================================================ Thanks for trying Substruct 1.0.a3 Now you can start the application with 'script/server' visit: http://localhost:3000/admin, and log in with admin / admin. For help, visit the following: Official Substruct Sites - http://substruct.subimage.com - http://code.google.com/p/substruct/ Substruct Google Group - http://groups.google.com/group/substruct - Subimage LLC - http://www.subimage.com |
| ~/samples/jruby
>~/testbed/jruby-1.1.2/bin/jruby
-S glassfish_rails substruct_rel_1-0-a3 May 28, 2008 1:47:46 PM com.sun.enterprise.glassfish.bootstrap.ASMain main INFO: Launching GlassFish on HK2 platform May 28, 2008 1:47:46 PM com.sun.enterprise.glassfish.bootstrap.ASMainHK2 findDerbyClient INFO: Cannot find javadb client jar file, jdbc driver not available May 28, 2008 1:47:47 PM com.sun.enterprise.v3.services.impl.GrizzlyProxy start INFO: Listening on port 3000 May 28, 2008 1:47:47 PM com.sun.enterprise.v3.services.impl.GrizzlyEmbeddedHttpConfigurator configureSSL WARNING: pewebcontainer.all_ssl_protocols_disabled May 28, 2008 1:47:47 PM com.sun.enterprise.v3.services.impl.GrizzlyEmbeddedHttpConfigurator configureSSL WARNING: pewebcontainer.all_ssl_ciphers_disabled May 28, 2008 1:47:47 PM com.sun.enterprise.v3.services.impl.GrizzlyProxy start INFO: Listening on port 3131 May 28, 2008 1:47:47 PM com.sun.enterprise.v3.services.impl.GrizzlyProxy start INFO: Listening on port 3838 May 28, 2008 1:47:48 PM com.sun.enterprise.v3.admin.adapter.AdminConsoleAdapter setContextRoot INFO: Admin Console Adapter: context root: /admin May 28, 2008 1:47:48 PM com.sun.enterprise.rails.RailsDeployer registerAdapter INFO: Loading application substruct_rel_1-0-a3 at / May 28, 2008 1:47:48 PM INFO: Starting Rails instances May 28, 2008 1:47:56 PM com.sun.grizzly.jruby.RubyObjectPool$1 run INFO: Rails instance instantiation took : 8800ms May 28, 2008 1:47:56 PM com.sun.enterprise.v3.server.AppServerStartup run INFO: Glassfish v3 started in 10403 ms |

| <a href="http://glassfish.org"><%= image_tag('/images/glassfish-logo.gif', :alt => 'GlassFish') %></a> |


Posted by Arun Gupta in web2.0 | Comments[5]
|
|
|
|
|
Today's Page Hits: 98
Total # blog entries: 1025
Posted by Arun Gupta's Blog on August 28, 2008 at 05:50 AM PDT #
Posted by Arun Gupta's Blog on August 28, 2008 at 05:57 AM PDT #
Posted by Arun Gupta's Blog on September 05, 2008 at 10:19 PM PDT #
Posted by Arun Gupta's Blog on November 07, 2008 at 05:52 AM PST #
Posted by Arun Gupta's Blog on November 14, 2008 at 09:36 AM PST #