Vagrant setup for developing Ghost
- Install the latest versions of VirtualBox and Vagrant.
- Linux users will also need to run
sudo apt-get install nfs-common nfs-kernel-sever
.
- Linux users will also need to run
- Clone this repo with
git clone --recursive git://github.com/TryGhost/Ghost-Vagrant.git
. cd
into the cloned repo.- Clone the Ghost master repo with
git clone git://github.com/Tryghost/Ghost.git
(case matters!) - Enter
echo '192.168.33.10 local.tryghost.org' | sudo tee -a /etc/hosts > /dev/null
to configure URL forwarding. - Enter
vagrant up
to create your new Vagrant box andvagrant ssh
to log in. - After logging into your box enter
cd /code/Ghost
and install Ghost by runningnpm install
andgrunt init
. - Enter
npm start
- After running
npm install
,grunt init
, andnpm start
, you can stop and start Ghost by runningsudo stop app
andsudo start app
inside your box.
- See the working on ghost core section of the Ghost contributing guide.
- Vagrantfile: Removed comments, removed symlink hack, changed Ghost source path, changed default box name (now attempts to pull from Atlas before using box URL as a fallback.)
- Updated phantomjs version to 1.9.8
- Added a one-liner for updating
/etc/hosts
. - Updated Puppet submodule commit references.
- Changed Upstart default behavior to manual.
- Removed
npm install
andgrunt init
from the provisioning process for better installation debugging. - Made significant changes to README.md content, formatting, and structure.
- Made a few small changes to comments in module code (correcting links etc.)
- Switched to Ubuntu 14.04 LTS image
- Changed the Ghost shared folder path to
/home/vagrant/code/Ghost
- Changed Compass to Bourbon as an automatic gem install
Copyright (c) 2013-2015 Ghost Foundation - Released under the MIT license.