Vagrant setup for developing Ghost
- changed the Ghost shared folder path to
- changed compass to bourbon as an automatic gem install
- NOTE: be sure to install the Guest Additions bit
- Install VirtualBox and Vagrant 1.2.2
Linux Users: Install an NFS daemon, e.g.
apt-get install nfs-kernel-server
- Clone this repo
- Initialise and fetch submodules
git submodule init
git submodule update --recursive
- Edit the
Vagrantfilein the root
- Change your
GhostSourcePathto match your environment
- Change your
- Edit your machines
vagrant upfrom the root of the cloned repo.
- This will automatically start ghost at
- To validate code, navigate to the Ghost code (
cd code/Ghost) and run
Updating Virtual Box Guest Additions
The packaged vagrant box from Ubuntu contains outdated Virtual Box Guest Additions. Most of the time this shouldn't be a problem, but if you want to update them I recommend this procedure:
- Install the vagrant-vbguest plugin:
vagrant plugin install vagrant-vbguest
- Boot the vm without provisioning:
vagrant up --no-provision
- Login with
vagrant sshand run
sudo apt-get -y -q purge virtualbox-guest-dkms virtualbox-guest-utils virtualbox-guest-x11
- Logout and
vagrant up --provision
Copyright & License
Copyright (C) 2014 The Ghost Foundation - Released under the MIT Lincense.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.