All Projects → TryGhost → Ghost Vagrant

TryGhost / Ghost Vagrant

Licence: mit
Vagrant setup for developing Ghost

Labels

Projects that are alternatives of or similar to Ghost Vagrant

Vagrant Php Box
Set up super fast a PHP5 development box with apache, mysql, phpmyadmin and whatever else that you may need
Stars: ✭ 139 (-39.83%)
Mutual labels:  puppet
Puppet Rabbitmq
RabbitMQ Puppet Module
Stars: ✭ 170 (-26.41%)
Mutual labels:  puppet
Puppet Python
Puppet module for installing and managing Python, pip, virtualenvs and Gunicorn virtual hosts.
Stars: ✭ 202 (-12.55%)
Mutual labels:  puppet
Puppi
Puppet module to manage applications deployments and servers local management
Stars: ✭ 147 (-36.36%)
Mutual labels:  puppet
Foreman
an application that automates the lifecycle of servers
Stars: ✭ 2,102 (+809.96%)
Mutual labels:  puppet
Primary Vagrant
An Apache based Vagrant configuration for helping you get the most out of WordPress Development
Stars: ✭ 192 (-16.88%)
Mutual labels:  puppet
Perl Dist Strawberry
Stars: ✭ 138 (-40.26%)
Mutual labels:  puppet
Phalcon Rest
A Base project for APIs using the Phalcon framework
Stars: ✭ 221 (-4.33%)
Mutual labels:  puppet
Python Dev Bootstrap
A Vagrant VM based Python Development Bootstrap
Stars: ✭ 170 (-26.41%)
Mutual labels:  puppet
Puppet Puppetdbquery
Query functions for PuppetDB
Stars: ✭ 201 (-12.99%)
Mutual labels:  puppet
Pytest Testinfra
With Testinfra you can write unit tests in Python to test actual state of your servers configured by management tools like Salt, Ansible, Puppet, Chef and so on.
Stars: ✭ 1,987 (+760.17%)
Mutual labels:  puppet
Sensu Puppet
Sensu Puppet module.
Stars: ✭ 167 (-27.71%)
Mutual labels:  puppet
Pdk
The shortest path to better modules: Puppet Development Kit; Download:
Stars: ✭ 194 (-16.02%)
Mutual labels:  puppet
Puppet Retrospec
The only tool you need to generate puppet code, tests, modules, facts, types, providers, data and everything else.
Stars: ✭ 141 (-38.96%)
Mutual labels:  puppet
Hexagonal Symfony
Sandbox for experimenting with Cockburn's hexagonal ideas with Symfony2
Stars: ✭ 214 (-7.36%)
Mutual labels:  puppet
Puppet Rbenv
Puppet manifest for rbenv installation
Stars: ✭ 138 (-40.26%)
Mutual labels:  puppet
Pentesting Playground
Code for installing various security minded tools onto Vagrant powered virtual machines
Stars: ✭ 171 (-25.97%)
Mutual labels:  puppet
Puppet Sandbox
A Vagrant-based Puppet development environment for creating new modules
Stars: ✭ 223 (-3.46%)
Mutual labels:  puppet
Octocatalog Diff
Compile Puppet catalogs from 2 branches, versions, etc., and compare them
Stars: ✭ 220 (-4.76%)
Mutual labels:  puppet
Puppet
Wikimedia Foundation operates some of the largest collaborative projects in the world. This is our Puppet repo. This repository is a mirror; see https://www.mediawiki.org/wiki/Developer_access for contributing.
Stars: ✭ 200 (-13.42%)
Mutual labels:  puppet

Ghost-Vagrant

A development environment for Ghost using Vagrant.

Prerequisites

You will need the following applications to setup the Ghost development environment:

Linux users will also need nfs-common and nfs-kernel-server:

sudo apt-get install nfs-common nfs-kernel-server

Windows users should install Vagrant to a directory with no spaces in the path.

Setup

To get started with the Ghost development environment, you will first need to clone this repo:

git clone git://github.com/TryGhost/Ghost-Vagrant.git

Clone the Ghost repo into your new local Ghost-Vagrant repo:

cd Ghost-Vagrant
git clone git://github.com/Tryghost/Ghost.git

Now we have both repos cloned, we can proceed with setting up the VM:

vagrant up

Once the VM has been setup, you will need to log in to the VM and setup Ghost:

vagrant ssh

# When logged into the VM...

cd code/Ghost
npm install
grunt init

On the host you should now be able to access Ghost by navigating to local.tryghost.org or 192.168.33.10 in your browser. Make sure to update the development URL to http://local.tryghost.org in Ghost/config.js.

Stopping and Starting Ghost

Once you have been through the setup process above, you can stop Ghost by logging in to the VM (vagrant ssh) and running:

sudo stop app

To start Ghost again run:

sudo start app

If you do not want to use the service for starting and stopping Ghost, you can alternatively run:

npm start

This is useful when you want to debug what Ghost is doing when it boots up, what URLs are being accessed etc.

Configuring the VM

You can configure various properties of the VM by creating a file named vm_config.yml in the Ghost-Vagrant root directory. The following properties are configurable:

  • hostname - URI that will be used to access Ghost from the browser
  • ip - IP address assigned to the virtual machine
  • memory - Amount of memory the virtual machine should have
  • ghost_path - Path to Ghost installation
hostname: local.tryghost.org
ip: 192.168.33.10
memory: 1024
ghost_path: ./Ghost

If vm_config.yml is not present when you first run vagrant up, it will be automatically created with the default values found in .vm_config_default.yml.

Developing and Running Tests

See the working on Ghost core section of the Ghost contributing guide.

Troubleshooting

If grunt init fails due to an npm error EEXIST regarding a .lock file, try:

rm -rf core/client/node_modules
npm cache clear
grunt init

Copyright & License

Copyright (c) 2013-2018 Ghost Foundation - Released under the MIT license. Ghost and the Ghost Logo are trademarks of Ghost Foundation Ltd. Please see our trademark policy for info on acceptable usage.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].