0.3.2 • Published 10 years ago
studiointeract v0.3.2
studiointeract
A Drupal deployment tool using git and ssh
Installation
npm install -g studiointeractGetting started
Init
Creates a config.json and settings.php.
studiointeract initSetup
Setup the server with your configuration and install git.
studiointeract setupDeploy
Deploy your Drupal site using git pull and ssh.
studiointeract deployNotice! You need to setup ssh-agent (see below) for this to work, and have permissions to pull from your repository using your own ssh key.
SSH keys with passphrase (or ssh-agent support)
This only tested with Mac/Linux
With the help of ssh-agent, mup can use SSH keys encrypted with a
passphrase.
Here's the process:
- First remove your
pemfield from theconfig.json. So, yourconfig.jsononly has the username and host only. - Then start a ssh agent with
eval $(ssh-agent) - Then add your ssh key with
ssh-add <path-to-key> - Then you'll asked to enter the passphrase to the key
- After that simply invoke
studiointeractcommands and they'll just work - Once you've deployed your app kill the ssh agent with
ssh-agent -k