TurnKey Linux Virtual Appliance Library

Appliance Created : Spree

Basil Kurian's picture

Project home URL : http://spreecommerce.com
Help guide            : http://spreecommerce.com/documentation/getting_started.html

base: Turnkey Core Lucid
admin email (username) : spree@example.com
admin password              : spree
Site URL :     https://IP_Address
admin URL :  https://IP_Address/admin/


During Patching some questions need to be answered

Load Sample Data? [y/n]: y
*
*
*
Create the admin user (press enter for defaults).
Email [spree@example.com]:
Password [spree]:

Attached: 
Basil Kurian's picture

feature

Multiple stores can be easily configured on same appliance .


Liraz Siri's picture

Spree looks like a sweet online shop application!

I hadn't heard of Spree before but I just took a look at their demo site and it looks pretty sweet. I love how setting up an online business is getting easier and easier, and once we turn this into a TurnKey app - even easier!

A few comments:

  • I was delighted to see you had set up SSL support. Excellent.
  • It's best if a patch can run non-interactively otherwise we have more work to do when we convert the TKLPatch to an officially supported appliance. Is there some way to automate or disable the interactive parts of the installation? Maybe by providing default values and later documenting how the user can change them? If so we can allow the user to configure Spree on firstboot (e.g., in a di-live hook).
Basil Kurian's picture

noninteractive patch

It is difficult to automate that part.

May be tweaking  the Rails application script will do. But didn't tried yet . Is that a critical problem. We will be mannualy applying the patch, before release , right ?


Liraz Siri's picture

Many ways to automate

Even if the script doesn't officially support pre-entering the values somehow, we could just rig its input like this:
cat answers | gem install spree --no-ri --no-rdoc
Unfortunately the things you get can away with for a TKLPatch (e.g., console access), don't necessarily hold true for the process we're using behind the scenes for the official appliances. In other words the build process has to be automatic because no user interaction is supported.
Basil Kurian's picture

Thanks

Thaks for the tip . Let me try :)


Basil Kurian's picture

done

echo -e "y\n\n"|rake db:bootstrap RAILS_ENV=production

Did the install and patched the turnkey core but still no go

I Patched Download 11.3 of the core system with this patch and ran through the install but when I go to pull up the url is comes up with an error.  Do I need to start any further services is there something I am missing?  This patch is from 2010 does it need to be updated?  any assistance would be appreciated.

 

Best

Chrys

Jeremy's picture

I have no idea

But you could try extracting the patch and trying to manually apply the conf script (perhaps line-by-line?) and see what (if any) error it is throwing.

Sorry but I don't have any chance testing it to see hwy it's not working but will try to help if I can...

L. Arnold's picture

Focus first on your Apache Settings.

The Apache settings may, for some reason, not have been updated with the Patch.  Also make sure Apache is running if the settings are good.

Beyond that, study Patches.  It is "relatively" easy to build your own.

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)