Just some feedback here from the point of view of a Drush drupal noob.

  1. It's not fully clear if a D7 database needs to be setup prior to the kickstart installation.
  2. How is one to invoke the installation, perhaps: drush dl commerce_kickstart or is there something more effective?
  3. Once the module is downloaded and untar'd, there is a profiles/ directory with many different choices of profiles. Which one to choose? commerce_kickstart/ minimal/ standard/ testing/ I went with the commerce_kickstart/ dir
  4. There is something in the documentation of how I need to move the modules from within the profile dir in to 'sites/all/modules', I'm curious why it's not done previously
  5. There is a profiles/commerce_kickstart/commerce_kickstart.make do i use drush on that? drush make commerce_kickstart.make doesn't seem to work if I try, i get this error:
    biodynamic@s483:/home/biodynamic/www/testing/commerce_kickstart/profiles/commerce_kickstart$ drush make commerce_kickstart.make 
    The drush command 'make commerce_kickstart.make' could not be found.                                                        [error]
    Could not find a Drupal settings.php file at ./sites/default/settings.php.                                                  [error]

Any help would be appreciated.

Comments

SJourney’s picture

ok, thanks to some help here is where I'm at:

  1. started fresh, used drush dl commerce_kickstart
  2. cd'd in to dir and ran drush si commerce_kickstart --db-url=mysql://user:pass@localhost/dbname which threw an error saying it couldn't find the DB. I thought it would create it automagically, but realized I needed to create it first.
  3. Went in to my host Plesk panel and created a database with a user
  4. ran drush si commerce_kickstart --db-url=mysql://user:pass@localhost/dbname which worked, BUT, when I browse the page it's bringing up my hosts index.php.
  5. Figure this is an .htaccess issue, move .htaccess in to parent dir, still no love
joshmiller’s picture

I just attempted this as well. Here's what I've learned.

  1. First, we need to clean up the new httpdocs folder. rm -rf httpdocs/*
  2. After running drush dl commerce_kickstart, I needed to mv commerce_kickstart/* commerce_kickstart/.htaccess httpdocs/
  3. After that I was able to get close to running drush site-install commerce_kickstart, but after a few failed attempts, I decided the user interface and three minutes of walking through the wizard was worth my time.

So, I know I haven't answered your question, but even if you are successful running this from the command line, you would still likely not have given it a yes/no for the final question on creating dummy content (part of the reason for using this install profile).

If you are trying to install this in a sub-directory instead of a subdomain, good luck.

joshmiller’s picture

Status: Active » Postponed (maintainer needs more info)

Changing to clean up que.

joshmiller’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)
J4-1’s picture

Version: 7.x-1.0-rc3 » 7.x-2.6
Component: Documentation » Miscellaneous
Assigned: Unassigned » J4-1
Status: Closed (won't fix) » Active

I was able to successfully install commerce_kickstart-7.x-2.6 after many failed attempts and i learned this process
start fresh, open putty connect to your server
now download commerce kickstart: "drush dl commerce_kickstart"
after that delete the public_html folder and move the contents of your downloaded commerce kickstart package to a new public_html folder
to do that : "drush rmdir public_html"
next move the contents of your commerce kisckstart to the new directory: "drush mv commerce_kickstart-7.x-2.6 public_html" (the commerce_kickstart-7.x-2.6 is dependent on the file name and version you download)
now move into the public_html folder since it now contains the commerce kickstart package
once into the public_html folder run the install code : "drush si commerce_kickstart --account-name=(account name) --account-pass=(account pass) --db-url=mysql://(database user):(database password)@localhost/(database name)"
after that you would just have to wait a little :)
now after installing it edit the 14th line of the .htaccess file on the public_html folder.
to do that (you are still in the public_html folder) : "nano .htaccess"
it will open a mini text editor change the 14th line from "FollowSymLinks" to "SymLinksIfOwnerMatch"
after that hit "ctrl+x" then press "y" to yes and enter to confirm file name
by now you can already open you site from you browser, but then you will not be able to see the image and slideshows on you site... that is because you still need to edit another .htaccess file
it is located on: public_html/sites/default/files still change the line 14 from "FollowSymLinks" to "SymLinksIfOwnerMatch"
you would need to manually edit this file and set the permissions
after that you are good to go with a new commerce kickstart site

PS. the user name is the username you defined but the password will be "admin"
haven't figured out yet why this happens but you can change the password anyway
Good Luck

jsacksick’s picture

Status: Active » Fixed

@J4: Many of the instructions you provided are environment specific, the only command I'm using to install Kickstart via drush is :
drush si commerce_kickstart --site-name="(site-name)" -v -y --db-url="mysql://(database user):(database password)@(host)/(database name)"

vasike’s picture

Assigned: J4-1 » Unassigned
Status: Fixed » Needs work

imho this should be present in the Kickstart documentation:
- http://www.drupalcommerce.org/commerce-kickstart-2/install
- http://drupal.org/node/1291122

jsacksick’s picture

Component: Miscellaneous » Documentation
Status: Needs work » Active
lsolesen’s picture

Version: 7.x-2.6 » 7.x-2.16
Issue summary: View changes
sj2000’s picture

So I was able to run drush site-install successfully, I copied default.settings.php and named it settings.php from default.settings.php that came in the download files but the location is in public_html/commerce_kickstart-7.x-2.17/sites/default, so it's different than what J4 had. Then I went to that directory and ran the command: drush si commerce_kickstart --site-name="(site-name)" -v -y --db-url="mysql://(database user):(database password)@(host)/(database name)" and the installation showed completed successfully. And then I followed J4 instruction: " now after installing it edit the 14th line of the .htaccess file on the public_html folder.
to do that (you are still in the public_html folder) : "nano .htaccess"
it will open a mini text editor change the 14th line from "FollowSymLinks" to "SymLinksIfOwnerMatch"
after that hit "ctrl+x" then press "y" to yes and enter to confirm file name
by now you can already open you site from you browser, but then you will not be able to see the image and slideshows on you site... that is because you still need to edit another .htaccess file
it is located on: public_html/sites/default/files still change the line 14 from "FollowSymLinks" to "SymLinksIfOwnerMatch"

but again the file location is different, I found the file .htaccess under /public_html/commerce_kickstart-7.x-2.17 and under /public_html/commerce_kickstart-7.x-2.17/sites/default/files.
So how can I access it? I tried to go to my site by putting http://www.riffoodbazaar.org, did not get anything.

lsolesen’s picture

Status: Active » Fixed

Checkout comment #6. There you got the answer on how to use drush to install.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.