Correct README and add missing wp-config file
authorymh <ymh.work@gmail.com>
Tue, 23 Apr 2019 20:24:02 +0200
changeset 2 8bfef8029c17
parent 1 79bc439970cd
child 3 d7dec707cbee
Correct README and add missing wp-config file
README.md
src/web/wp-config.php
--- a/README.md	Tue Apr 23 20:19:02 2019 +0200
+++ b/README.md	Tue Apr 23 20:24:02 2019 +0200
@@ -17,6 +17,12 @@
 
 ### Installing
 
+Build docker images:
+
+```
+$ docker-compose build
+```
+
 Launch the project
 
 ```
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/web/wp-config.php	Tue Apr 23 20:24:02 2019 +0200
@@ -0,0 +1,9 @@
+<?php
+/**
+ * Do not edit this file. Edit the config files found in the config/ dir instead.
+ * This file is required in the root directory so WordPress can find it.
+ * WP is hardcoded to look in its own directory or one directory up for wp-config.php.
+ */
+require_once dirname(__DIR__) . '/vendor/autoload.php';
+require_once dirname(__DIR__) . '/config/application.php';
+require_once ABSPATH . 'wp-settings.php';