Skip to content

thefriendlybeasts/vagrant-statamic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

vagrant-statamic

The Friendly Beasts' Vagrant setup.

Provisions

  • ubuntu/trusty64
  • Apache2
  • PHP5 (latest)
  • Configured php.ini and apache2.conf

Requirements

  • VirtualBox
  • Vagrant

Usage

  1. Place Vagrantfile above your site's root.
  2. vagrant up in your project dir.

By default, this will sync html to your Vagrant machine. You can change the default by editing this line:

ENV['SYNCED_FOLDER'] = "./html"

You can also sync a different folder on a per-case basis. Just define an environment variable before vagrant up.

For example, after we run our Grunt build script, we end up with a dist dir next to html. To review the built version of the site before deploying, we run:

SYNCED_FOLDER="./dist" vagrant up

If you've already vagrant upped, it's significantly quicker to reload, than to destroy and re-up.

SYNCED_FOLDER="./dist" vagrant reload

About

A Vagrant up for quick Statamic development

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors