You can get this to work in two ways, via .git
or download it manually
In the webroot run:
git clone https://github.com/janw-oostendorp/WordPress-Skeleton.git .
This will download the base, next we download the WordPress submodule.
git submodule update --init
If needed add your own remote repository
git remote rm origin
git remote add origin YOUR_REPOSITORY.URL/
Download the zip and unzip it in the webroot. Download Wordpress unzip it in the /wp
folder.
After downloading you can continue to install WordPress
- Copy
local-config.sample.php
and rename it tolocal-config.php
- Add the database constants and the domain
- In
wp-config.php
Edit the$table_prefix
- add the
*_KEY
constants which can be generated here - open your website and continue with the famous 5 minute install.
-
copy
local-config.sample.php
aslocal-config.php
-
edit
local-config.php
and setDB_NAME / DB_USER / DB_PASSWORD
towpdemo
, pointDB_HOST
andWP_HOME
to your docker host (e.g.docker-machine ip default
) -
launch apache & mysql:
export WWW_DIR=/path/to/WordPress-Skeleton docker-compose build docker-compose up
-
open your website and continue with the famous 5 minute install.
- WordPress is in it's own folder
/wp
. - Webroot only has two folders
/wp
and/content
- Automatic updates are enabled for production, adding more security.
- Error display and logging are setup. On production errors will be logged, on test the will be shown.