Drupal local development management toool
Tool to quickly and easily spin up local Drupal instances. It functions essentially as a wrapper around a Vagrantfile with some convienience management methods.
Option A: Exisiting Site
/Users/<username>/Sites/<mysite>.local
)howst create <hostname>
. Be sure to give it a meaningful and unique hostname.true
true
/Users/<username>/Sites/<mysite>.local
5
; if you want to use Drush 6, just click the enter key; if you want Drush 7, type 7
.@
)howst ssh <hostname>
. Then, run the script generated by Howst to install the db. This can be run from anywhere by using the pull-db
command.howst up <hostname>
. The first time you do this, it will take some time.http://localhost:<port>
to see your newly-cloned site.Option B: New Site
howst create <hostname>
. Be sure to give it a meaningful and unique hostname.8
./Users/<username>/Sites/<mysite>.local
5
; if you want to use Drush 6, just click the enter key; if you want Drush 7, type 7
.@
)http://localhost:<port>
to access the Drupal Install scripthowst ssh <hostname>
.pull-db
command.##Usage
Usage: howst [options] [command]
Commands:
create <hostname> Create a new Howst machine
config <hostname> Reconfigure an existing Howst machine
remove <hostname> stops and deletes all traces of the Howst machine
list [options] Lists all known Howst machines
info <hostname> Lists the properties of the given Howst machine
remote-password <password> Sets password for syncing remote databases
* Vagrant passthrough. See below.
Options:
-h, --help output usage information
-V, --version output the version number
Vagrant passthrough commands:
box manages boxes: installation, removal, etc.
connect connect to a remotely shared Vagrant environment
default sets the defaults howst instance
global-status outputs status Vagrant environments for this user
halt stops the vagrant machine
help shows the help for a subcommand
init initializes a new Vagrant environment by creating a Vagrantfile
login log in to HashiCorp's Atlas
package packages a running vagrant environment into a box
plugin manages plugins: install, uninstall, update, etc.
provision provisions the vagrant machine
push deploys code in this environment to a configured destination
rdp connects to machine via RDP
reload restarts vagrant machine, loads new Vagrantfile configuration
resume resume a suspended vagrant machine
share share your Vagrant environment with anyone in the world
ssh connects to machine via SSH
ssh-config outputs OpenSSH valid configuration to connect to the machine
status outputs status of the vagrant machine
suspend suspends the machine
up starts and provisions the vagrant environment (-p <Pantheon Password>)
version prints current and latest Vagrant version
sites/default
folder Howst should automatically generate one (and it might need some tweaking).$ git clone https://github.com/bowst/howst-app.git
$ cd howst-app
$ npm link
This will link the package to your bin so you can edit code in your local git repo and test on the commandline from anywhere! Just keep in mind that if you make changes to the vagrant
folder, you'll need to run npm link
again to copy the appropriate files to the $HOME/.howst directory.
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)To access PHPMyAdmin, visit http://localhost:/phpmyadmin. "root" (without quotes) is the user; "vagrant" (without quotes) in the password.