You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 25, 2022. It is now read-only.
Copy file name to clipboardExpand all lines: FAQ.md
+9-8Lines changed: 9 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,19 +17,20 @@ WPLib Box installs Redis for persistent object caching. To disable this simply r
17
17
18
18
If you need to clear the cache the easiest way at the moment is to run `vagrant reload` from your development (host) computer.
19
19
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:
22
22
23
23
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.
28
28
29
+
And except for the following NOTE, that is it.
29
30
30
31
**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).
0 commit comments