Advertisement
Guest User

Untitled

a guest
Feb 5th, 2017
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. ######### installing a drupal+commerce_kickstart site with drush
  2. # starting in CWD /home/$USER/ and assuming document root is /home/$USER/public_html
  3.  
  4. drush dl commerce_kickstart-7.x -y --drupal-project-rename=public_html
  5. # above is very different than running a normal 'drush dl drupal-7.x'
  6.  
  7. cd public_html
  8. drush si commerce_kickstart -v -y --account-name=admin --account-pass=admin --site-name=SITENAME --sites-subdir=DOMAIN.COM --db-url='mysql://DBUSER:DBPASS@localhost/DATABASE'
  9.  
  10. # or if you don't want the demo store: drush si commerce_kickstart -v -y --account-name=admin --account-pass=admin --site-name=SITENAME --sites-subdir=DOMAIN.COM --db-url='mysql://DBUSER:DBPASS@localhost/DATABASE' commerce_kickstart_configure_store_form.install_demo_store=0
  11.  
  12. # if applicable, fix permissions to work with suPHP
  13. find ./ -type f -exec chmod 644 {} \; ; find ./ -type d -exec chmod 755 {} \;
  14. # double check that you're still in the document root directory before running the above
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement