aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorBrian Picciano <me@mediocregopher.com>2024-07-01 11:14:24 +0200
committerBrian Picciano <me@mediocregopher.com>2024-07-01 11:35:36 +0200
commit1a6d506a525e32bc374f89377e46a775c6737cf0 (patch)
treebcaf92072db1ec0358d9e1feeed9a8de7ce7c640 /README.md
parent931b4b8d3e61913778ed1bed002eb150171761ac (diff)
Got basic development environment set up
Diffstat (limited to 'README.md')
-rw-r--r--README.md23
1 files changed, 23 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..52f3019
--- /dev/null
+++ b/README.md
@@ -0,0 +1,23 @@
+# mediocre-caddy-plugins
+
+TODO proper introduction
+
+## Development
+
+A nix-based development environment is provided with the correct versions of all
+development dependencies. It can be activated by doing:
+
+```
+nix-shell -A shell
+```
+
+The `./cmd/mediocre-caddy` binary package can be used to run a Caddy instance
+with all plugins provided by this package pre-installed.
+
+The Caddyfile `./example/Caddyfile` can be used to spin up a Caddy instance with
+various virtual-hosts predefined with usefule configurations for testing. See
+that file for a description of the available virtual hosts.
+
+```
+go run ./cmd/mediocre-caddy run --config ./example/Caddyfile
+```