A smart way to rebuild your WordPress site into local.
* This is a fork of VCCW (vagrant-chef-wordpress).
➥ 日本語
That's why I made this!
-
Clone or download ReWP into local
-
Rename the folder as you like. Your site’s name is better
-
Copy the document root folder of your WP site into ReWP
-
Export database of your WP site into a single file (SQL or XML) and place it into ReWP as
db.sql
ordb.xml
-
Copy
ReWP/provision/default.yml
asReWP/site.yml
-
Edit the
site.yml
to be suited for your site’s specificationshostname
is the local version of your site’s URL.
hostname_old
is the production onesync_folder
is a relative path to the document root from ReWPimport_sql
must be true to import a SQL fileimport_wxr
must be true to import a XML file
-
In the shell, type commands as follows:
cd /path/to/your/ReWP vagrant up
-
Wait for several minutes. You’ll see lots of console outputs
-
If no error, you’ve done! Browse the address you specified as
hostname
in thesite.yml
- WordPress 3.5.2+ [MUST]
- VirtualBox 4.3+
- Vagrant 1.7.1+
Do not hesitate to post your problem in https://github.com/amekusa/ReWP/issues.
Thx :)