This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/attic-docker.git
The following commit(s) were added to refs/heads/main by this push:
new 0f5a0b3 Update README.md
0f5a0b3 is described below
commit 0f5a0b34f06a95138b4e49263ffcebfafd66ac9d
Author: Sebb <[email protected]>
AuthorDate: Mon Feb 3 16:55:11 2025 +0000
Update README.md
---
README.md | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/README.md b/README.md
index 1dce3ec..6a1281b 100644
--- a/README.md
+++ b/README.md
@@ -1,12 +1,12 @@
-Docker build for testing Attic banner etc.
+Docker build for testing Attic banner and CSP.
Build:
-docker compose build
+`docker compose build`
-Checkout the Attic site in a spare directory, e.g.
-git clone https://github.com/apache/xyz-site /path/to/repo
+Checkout the website to be tested in a spare directory, e.g.
+- `git clone https://github.com/apache/xyz-site /path/to/repo`
or
-svn co https://svn-master.apache.org/repos/asf/xyz/site/trunk/ /path/to/repo
+- `svn co https://svn-master.apache.org/repos/asf/xyz/site/trunk/
/path/to/repo`
Some sites are served from a subdir of the repository, e.g.
/path/to/repo/content
@@ -19,19 +19,19 @@ To enable/disable Content-Security-Policy, create/delete
the directory:
/path/to/website/_CSP
To process download cgi pages, you will need access to
-the closer_cgi/files directory in the private infrasture-p6 repository.
+the closer_cgi/files directory in the private infrastructure-p6 repository.
If not available, such pages will fail to load, but the site should otherwise
work OK.
Start:
-[VAR_DYN=/path/to/closer_cgi/files] VAR_HTML=/path/to/website docker compose up
+`[VAR_DYN=/path/to/closer_cgi/files] VAR_HTML=/path/to/website docker compose
up`
browse to localhost:8000
-Start shell (container must be running)
-docker compose exec attic_lua_csp /bin/bash
+Start shell (container must be running):
+`docker compose exec attic_lua_csp /bin/bash`
Restart httpd server
-docker compose exec attic_lua_csp apachectl restart
+`docker compose exec attic_lua_csp apachectl restart`
-Stop httpd server (and the container)
-docker compose exec attic_lua_csp apachectl stop
+Stop httpd server (and the container):
+`docker compose exec attic_lua_csp apachectl stop`