GithubHelp home page GithubHelp logo

ghost-vagrant's Introduction

#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.

ghost-vagrant's People

Contributors

jgable avatar erisds avatar halfdan avatar javorszky avatar jgillich avatar dscape avatar petems avatar tybenz avatar johnonolan avatar codelahoma avatar sebgie avatar tonyyates avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.