|
@@ -1,5 +1,13 @@
|
|
|
|
+Wordpress App
|
|
|
|
+=============
|
|
|
|
+
|
|
|
|
+Source
|
|
|
|
+------
|
|
|
|
+https://wordpress.org/download/
|
|
|
|
+
|
|
|
|
+
|
|
Notes
|
|
Notes
|
|
-=====
|
|
|
|
|
|
+-----
|
|
The site_url() will always be the location where you can reach the site by tacking on /wp-admin on the end, while home_url() would not reliably be this location.
|
|
The site_url() will always be the location where you can reach the site by tacking on /wp-admin on the end, while home_url() would not reliably be this location.
|
|
|
|
|
|
put this in wp-config.php for debugging
|
|
put this in wp-config.php for debugging
|
|
@@ -26,16 +34,6 @@ if ( true === WP_DEBUG ) {
|
|
error_log( $log );
|
|
error_log( $log );
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-Building
|
|
|
|
-========
|
|
|
|
|
|
|
|
-docker build -t girish/wordpress .
|
|
|
|
-
|
|
|
|
-Running
|
|
|
|
-=======
|
|
|
|
-docker run -tiP --link mysql:mysql -e MYSQL_URL=<url> -v /tmp/data:/app/data girish/wordpress
|
|
|
|
-
|
|
|
|
-Notes
|
|
|
|
-=====
|
|
|
|
The install step seems to install cookies! When testing using docker, make sure that the cookies of a previous install are cleared. Otherwise, one keeps getting a 304.
|
|
The install step seems to install cookies! When testing using docker, make sure that the cookies of a previous install are cleared. Otherwise, one keeps getting a 304.
|
|
|
|
|