Skip to content
This repository was archived by the owner on Jan 25, 2022. It is now read-only.

Commit 5d5a87d

Browse files
author
Daryl Lozupone
committed
Merge tag '0.14.0'
2 parents f58362b + b2fe2da commit 5d5a87d

File tree

5 files changed

+27
-5
lines changed

5 files changed

+27
-5
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# WPLib Box ChangeLog
22

3+
## 0.14.0
4+
+ `vagrant up` now configures box using `project.json` file
5+
+ Add Memcached as an option
6+
+ Add CLI commands to switch between Redis and Memcached
7+
+ Implement PHP5.6 and PHP7.0 as Docker containers
8+
+ Add shortcut command to switch to PHP7.1
9+
+ Fix bug in Nginx MailHog virtual host configuration
10+
+ Fix issue where `jq` was not latest version
11+
+ Add `realpath` package
12+
313
## 0.13.0
414
+ Implement MySQL as a Docker container
515
+ Implement Redis as a Docker container

FAQ.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -423,14 +423,14 @@ For example, to switch from Nginx to Apache:
423423
+ Conversely, you can `box nginx` to switch from Apache to Nginx.
424424

425425
<a id="database"></a>
426-
### How do I swtich from MySQL to MariaDB (or vice versa)?
426+
### How do I switch from MySQL to MariaDB (or vice versa)?
427427
The box runs MySQL as the default database, however MariaDB is available. To configure the box to use
428428
MariaDB instead, use the `box` command _(which will dump the contents of
429429
the current database and import into the new database)_:
430430

431431
+ Log in to the box using `vagrant ssh` on your host machine.
432432
+ Enter the following command: `box mariadb` to use MariaDB.
433-
+ Conversely, you can `box mysql' to switch from MariaDB to MySQL.
433+
+ Conversely, you can `box mysql` to switch from MariaDB to MySQL.
434434

435435
<a id="logs"></a>
436436
### How do I see the logs for Docker container Foo?

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,20 +47,21 @@ Our **GOAL** is to be:
4747

4848
And one more goal we achieved is that our box supports **PhpStorm+XDEBUG debugging** with the least effort required on your part.
4949

50-
We think that once you try WPLib Box you will agree that we have succeeded. Want to know [**how**](# how) we did it?
50+
We think that once you try WPLib Box you will agree that we have succeeded. Want to know [**how**](#how) we did it?
5151

5252
<a id="whats-included"></a>
5353
## Services & Software Included
5454

5555
Service/Software|Version
5656
-------|----------
57-
PHP/PHP-FPM|7.0.18 & 5.6.30
57+
PHP/PHP-FPM|7.1.4, 7.0.16, & 5.6.30
5858
MySQL|5.7.17
5959
MariaDB|10.1.22
6060
Nginx|1.11.0
6161
Apache|2.4.25
62-
XDEBUG|2.5.1
62+
XDEBUG|2.5.0
6363
Redis|3.0.7
64+
Memcached|1.4.36
6465
WP CLI|1.1.0
6566
Nodejs|7.8.0
6667
localtunnel.me|

Vagrantfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -369,5 +369,8 @@ Vagrant.configure(2) do |config|
369369
run_remote "box backup-db"
370370
end
371371

372+
config.trigger.after [:up, :reload] do
373+
run_remote "box startup"
374+
end
372375
end
373376

project.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"services" : {
3+
"database": "mysql",
4+
"webserver": "nginx",
5+
"processvm": "php7.0",
6+
"kvstore": "redis"
7+
}
8+
}

0 commit comments

Comments
 (0)