Closed (fixed)
Project:
Commerce Kickstart
Version:
7.x-2.16
Component:
Documentation
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
1 Oct 2011 at 00:04 UTC
Updated:
22 Oct 2014 at 12:24 UTC
Jump to comment: Most recent
Comments
Comment #1
SJourney commentedok, thanks to some help here is where I'm at:
drush dl commerce_kickstartdrush si commerce_kickstart --db-url=mysql://user:pass@localhost/dbnamewhich 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.drush si commerce_kickstart --db-url=mysql://user:pass@localhost/dbnamewhich worked, BUT, when I browse the page it's bringing up my hosts index.php.Comment #2
joshmillerI just attempted this as well. Here's what I've learned.
rm -rf httpdocs/*drush dl commerce_kickstart, I needed tomv commerce_kickstart/* commerce_kickstart/.htaccess httpdocs/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.
Comment #3
joshmillerChanging to clean up que.
Comment #4
joshmillerComment #5
J4-1 commentedI 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
Comment #6
jsacksick commented@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)"
Comment #7
vasikeimho this should be present in the Kickstart documentation:
- http://www.drupalcommerce.org/commerce-kickstart-2/install
- http://drupal.org/node/1291122
Comment #8
jsacksick commentedComment #9
lsolesen commentedComment #10
sj2000 commentedSo 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.
Comment #11
lsolesen commentedCheckout comment #6. There you got the answer on how to use drush to install.