https://github.com/xwp/vvv-vip-go
One VVV setup for multiple VIP Go sites.
https://github.com/xwp/vvv-vip-go
vagrant vip-go wordpress
Last synced: about 2 months ago
JSON representation
One VVV setup for multiple VIP Go sites.
- Host: GitHub
- URL: https://github.com/xwp/vvv-vip-go
- Owner: xwp
- License: mit
- Created: 2017-05-02T07:39:29.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-03T06:46:08.000Z (about 9 years ago)
- Last Synced: 2025-10-26T07:21:26.466Z (8 months ago)
- Topics: vagrant, vip-go, wordpress
- Language: PHP
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# VVV + VIP Go
Local development repo for quickly adding a VIP Go site to VVV.
## Caveats
- Currently only allows `vip.go.local` as the site URL.
## Installation
Assuming you have [VVV 2.0][1] installed and are familiar with the setup using the [`vvv-custom.yml`][2], simply clone this repo and run `vagrant up --provision` (or `vagrant reload --provision` if already running) on VVV.
## Adding a New Site
Currently adding a new site is manual and requires you to either:
- Duplicate the `web/vip-go-skeleton` repo (removing anything you do not need).
- Add your current `wp-content` VIP Go directory.
No matter which method you choose, be sure to us a unique directory name and add this directory right inside `web`.
### Using New Site
Once you have added the new site, you can start using it right away, if you want to use the same database as the default setup.
Simply define `VVV_VIP_GO_DIR` in `wp-config-local.php` for the unique directory you added. For example, if your directory is `web/my-cool-site`, then you would add:
```php
define( 'VVV_VIP_GO_DIR', 'my-cool-site' );
```
If you wanted to use a custom database for this new site, you need to define `VVV_VIP_GO_DB` in `wp-config-local.php`, the reprovision the Vagrant.
```php
define( 'VVV_VIP_GO_DB', 'vvv_vip_go_custom_database_name' );
```
[1]: https://varyingvagrantvagrants.org/docs/en-US/
[2]: https://varyingvagrantvagrants.org/docs/en-US/vvv-config/