Skip to content

An open repository dedicated to ease and improve Wordpress project development workflow based on Vagrant and Grunt.

License

Notifications You must be signed in to change notification settings

EdelmanDigitalCanada/Vagruntpress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Vagruntpress

Wordpress Vagrant Grunt

https://wordpress.org/
https://www.vagrantup.com/
http://gruntjs.com/

Prerequisite

  • Virtual Box - The Virtual Machine Manager
  • Vagrant - Development environments based on VM
  • VagrantHostManager - Vagrant Plugin to automatically update your local hosts file
  • VagrantExec - Vagrant plugin to allow direct command line execution from the host machine
  • Grunt - Javascript Task Runner

Specifications

Wordpress installation includes:

  • WPCLI - Command line support for Wordpress
  • WpSyncDB - A plugin that helps you to sync your databases between environments
  • WpSyncDBMedia - A addon to sync your medias between environments
  • WpSyncDBCli - An another addon to handle migrations from the command line

Configuration

You can modify the configuration in config.yaml

What it does?

The simple command vagrant up will generate a Wordpress installation ready to be used.

Main Commands

From the project root

Command Action
vagrant up start the vagrant machine
vagrant reload --provision restart the vagrant machine
vagrant halt stop the vagrant machine
vagrant exec wp wpsdb migrate 1 run WP Sync DB profile #1 (sync dev with local)

From the project theme folder

Command Action
grunt watch start the grunt watcher (for scss and js changes)

About

An open repository dedicated to ease and improve Wordpress project development workflow based on Vagrant and Grunt.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published