Skip to content

frantzypants/Ghost-Vagrant

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Ghost-Vagrant

Vagrant setup for developing Ghost

Changelog

1.2

  • changed the Ghost shared folder path to /home/vagrant/code/Ghost

1.1

  • changed compass to bourbon as an automatic gem install
  • NOTE: be sure to install the Guest Additions bit

Instructions

  • Install VirtualBox and Vagrant
  • 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 Vagrantfile in the root
    • Change your GhostSourcePath to match your environment
  • Edit your machines hosts file add 192.168.33.10 local.tryghost.org
  • Run vagrant up from the root of the cloned repo.
  • This will automatically start ghost at local.tryghost.org
  • To validate code, navigate to the Ghost code (cd code/Ghost) and run grunt validate.

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:

  1. Install the vagrant-vbguest plugin: vagrant plugin install vagrant-vbguest
  2. Boot the vm without provisioning: vagrant up --no-provision
  3. Login with vagrant ssh and run sudo apt-get -y -q purge virtualbox-guest-dkms virtualbox-guest-utils virtualbox-guest-x11
  4. Logout and vagrant halt
  5. 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.

About

Vagrant setup for developing Ghost

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published