Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Drupal 7 deployment

amine_landolsi
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 17, 2019

Hello guys, 

I'm new  in bitbucket, i want to deploy  drupal 7 with bitbucket  pipeline but i can't find how to do scripts  to setup this deployment.

i'll setup bitbucket  on my OVH server and all that i want is  to deploy when  customer  demand to see something on application with drupal 7, i will deploy it  with this bitbucket service and show where i'm on developpement.

Thanks to all ;) .

 

Ps  : sorry for my bad english!

1 answer

0 votes
Rich Allen July 18, 2019

Do you have SSH access to your server? You can use Drush, and Drush aliases to create a remote session and do common Drupal operations like features import, update.php, and database backups.

 

Alternatively you can include scripts in your repository, and run scripts remotely with this syntax https://superuser.com/questions/1117779/execute-a-remote-script-on-a-remote-computer-via-ssh?rq=1

 

To set up a deployment key, and ssh access, you'll want to consult https://bitbucket.org/blog/deployment-keys

 

Also note: drush versioning is weird. Drush 9 is for new versions of drupal 8, drush 8 works with both drupal 8 and drupal 7. You probably want drush 8, but your hosting provider might have drush 7, in which case you should install that version.

 

Refer to the matrix on this documentation for which versions are supported and you can use. https://docs.drush.org/en/master/install/ It's a bit confusing.

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events