Stagr is a one command install for a complete fortrabbit staging environment. This project was developed by Gabriel Manricks, Ulrich Kautz and Rob Mills to automate the proccess of creating a staging environment as shown in an article written for NetTuts+. To install Stagr just clone the git repo and run
vagrant up. The entire process takes about 20 minutes and the Stagr script can then be used to setup multiple sites.
Step 1: Clone the Stagr repo:
» git clone https://github.com/gmanricks/Stagr.git
Step 2: Enter the Directory:
» cd Stagr
Step 3: Run Vagrant:
» vagrant up
Step 1: Login to the VM:
» vagrant ssh
Step 2: Run Stagr:
» sudo stagr
Step 3: Follow the Prompts
You will then be able to push the repo to the staging server and view the changes at the site's created host name. The setup includes an Apache 2.2 server with PHP 5.4 a host of PHP extensions and the latest copy of Composer. You can triger Composer to run - just like in fortrabbit - by adding the keyword
[trigger:composer] to your GIT commit message. This is the first revision of this project and their hasn't been much testing, so if you find any bugs, feel free to send me an E-mail at: firstname.lastname@example.org or you can reach me on twitter: @gabrielmanricks.