Remains a delicious system bit steep learning curve but it’s very logical. If you still award the time yourself to master Drush than the establishment and maintenance of new systems is really a breeze. For example
download Latest fresh environment: Create Database:
- drush sql create –db-su-su—db = root pw = rootpasswd –db url = “mysql: / / dbuser: dbpasswd @ localhost / dbname “
site Creating and right up so that you can log in immediately:
- drush site installs –db url = mysql: // dbuser: userpasswd @ localhost / dbname –site-name = domain name –sites-subdir = domain name
Ideal! The last two commands, you can repeat to add more “multi-site” installations.
Of course, you have to advance a lamp (or nginx / mariaDB / php-fpm) are nearby.
Or, to quickly test a sqlite database:
And then you have to run a whole system drupal Note moreover
which Drush from repos is really much too old usually Distro Ubuntu as 14:04 so you! have to go to work with Composer. Google is your friend
Edit:. For completeness, so you have quick latest Drush on Ubuntu 14:04:
http://whaaat.com/installing-drush-8-using-composer
still here make sure it is still in your path after a reboot, the trouble I myself have not yet been taken …
[comment edited by teek2 on February 25, 2016 11:24 ]
No comments:
Post a Comment