Skip to content

An open source Vagrant configuration for developing with WordPress

License

Notifications You must be signed in to change notification settings

jhammons-lendistry/lendops-dev

 
 

Repository files navigation

Lendops-dev

Codacy Badge Average time to resolve an issue Percentage of issues still open

Lendops-dev is based on VVV: a local developer environment, mainly aimed at WordPress developers. It uses Vagrant and VirtualBox/Parallels/HyperV to create a linux server environment for building sites, and contributing to WordPress itself.

VVV stands for Varying Vagrant Vagrants.

How To Use

To use it, download and install Vagrant and a provider such as VirtualBox, Docker, or Parallels Pro. Then, clone this repository and run:

vagrant plugin install --local
vagrant up --provision

Handling Database Backups & WordPress public_html Folders

  1. Edit config/config.yaml and set the folders directive for public_html;
  2. Set the repo to a repository with the base public_html/ folder of WordPress files/content/etc.
  3. Ensure you have or create a backup of the MySQL database (either from existing git repo or generated yourself) by placing it in databases/sql/backup/poc_lendistry-devel_net.sql for Vagrant provisioning.

Export a database from a running (local VM) site like so:

$ vagrant ssh -c 'mysqldump poc_lendistry-devel_net' > database/sql/backups/poc_lendistry-devel_net.sql

... or to store it in the git repo (to push to staging, for example):

$ vagrant ssh -c 'mysqldump poc_lendistry-devel_net' > www/poc_lendistry-devel_net/public_html/poc_lendistry-devel_net.sql

Handling Site WordPress Customizatons

See the www/ folder, for example the poc_lendistry-devel_net/ folder (its own git repository as described in config/config.yml).

Accessing Local VVV

When it's done, visit http://vvv.test.

The online documentation contains more detailed installation instructions.

Minimum System requirements

For system requirements, please read the system requirements documentation here

Software included

For a comprehensive list, please see the list of installed packages.

About

An open source Vagrant configuration for developing with WordPress

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 93.3%
  • HTML 4.3%
  • PHP 2.4%