Area personale

 

Tag

 

Ultime visite al Blog

taichungmonellaccio19amorino11m12ps12acer.250miriade159prefazione09Marion20cassetta2limitedelbosco0marabertowjoerivetto6surfinia60Catter1na
 

Ultimi commenti

 
Creato da: taichung il 12/01/2011
Linux Drupal Pinephone Freerunner Android

 

 
« Drupal 7 numero di colle...PHP, change default emai... »

Drush on Openshift

Post n°55 pubblicato il 01 Marzo 2017 da taichung
 

Because often, despite the quick start procedure, Openshift isn't able to correctly deploy a fresh Drupal 7 installation (for example doesn't provide the default user and password), we can try to install drush (another missing feature). After logging in through ssh to your application, add to app-root/data/.bash_profile:

PATH="$HOME/.composer/vendor/bin:$PATH"

Now we install drush through composer:

composer global require drush/drush:7.*

Dont'worry about composer complaining that it's not updated.

Re-read your bash_profile so that the installation path of drush will be known by the system:

. app-root/data/.bash_profile

All done, now drush should be in your PATH and you can verify by typing the command drush --help

If anything went wrong, check http://docs.drush.org/en/7.x/install/

This, like other bugs on Drpal installation on Openshift, has been already claimed to be solved several times, but as I've experimented, it's not...

 
Condividi e segnala Condividi e segnala - permalink - Segnala abuso
 
 
Vai alla Home Page del blog

Cerca in questo Blog

  Trova
 
RSS (Really simple syndication) Feed Atom
 

Archivio messaggi

 
 << Agosto 2024 >> 
 
LuMaMeGiVeSaDo
 
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  
 
 

Sponsored link

 

Sponsored link

Inchiostro stampanti varie marche a prezzi competitivi

 

© Italiaonline S.p.A. 2024Direzione e coordinamento di Libero Acquisition S.á r.l.P. IVA 03970540963