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

Commit 246154f

Browse files
committed
Updated "How do I Deploy My Site from the Box?"
1 parent b6ec8b8 commit 246154f

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

FAQ.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,20 @@ WPLib Box installs Redis for persistent object caching. To disable this simply r
1717

1818
If you need to clear the cache the easiest way at the moment is to run `vagrant reload` from your development (host) computer.
1919

20-
## How do I Deploy Code from the Box?
21-
Deployment is extremely simple. Simply:
20+
## How do I Deploy My Site from the Box?
21+
Deployment to a production or staging server is extremely simple. Just:
2222

2323
1. Copy the entire contents of the `www/` directory to the website root of the server where you are hosting your site.
24-
2. Using a SQL client tool such as [Sequel Pro](http://www.sequelpro.com/) or [Navicat](https://www.navicat.com) export of _"dump"_ your
25-
database to a `.sql` file.
26-
3. Import your `.sql` file into your webhost's [MySQL](https://www.mysql.com/) or [MariaDB](https://mariadb.com) server which may be referred to as _"Executing the SQL file"_.
27-
4. Change `www/wp-config-local.php` on your webhost to use the webhosts
24+
2. Using a SQL client tool such as [Sequel Pro](http://www.sequelpro.com/) or [Navicat](https://www.navicat.com) export aka _"dump"_ your database to a `.sql` file.
25+
3. Import your `.sql` file into your web host's [MySQL](https://www.mysql.com/) or [MariaDB](https://mariadb.com) server which may be referred to as _"executing"_ your SQL file.
26+
4. Modify `www/wp-config-local.php` on your web host to use your web host's database credentials and any other configuration options that differ on your production or staging server.
27+
5. In future deployments be sure not to overwrite your web host specific `www/wp-config-local.php` file.
2828

29+
And except for the following NOTE, that is it.
2930

3031
**NOTE:** You will need to run whatever process you normally run to change the URLs from your local URLs to your production or staging URLs.
31-
There are many solutions to this although not one ideal solution that explaining how to do that is out of the scope of this FAQ. But let us
32-
[Google it for you](https://www.google.com/#q=changing%20urls%20when%20moving%20wordpress%20site%20-codex).
32+
There are many solutions to this although not one ideal solution thus explaining how to do this is out of the scope of this FAQ. But
33+
[let us google it for you](https://www.google.com/#q=changing%20urls%20when%20moving%20wordpress%20site%20-codex).
3334

3435

3536
## How do I Use WPLib Box on New Projects?

0 commit comments

Comments
 (0)