summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..08c3b42
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,13 @@
+build:
+ docker build -t radicale .
+run:
+ if [ ! -d collections ]; then mkdir collections; fi
+ if [ ! -d auth ]; then mkdir auth; fi
+ cp -v htpasswd-test auth/htpasswd
+ sh -c 'docker rm radicale; exit 0'
+ docker run \
+ -v collections:/collections \
+ -v auth:/auth \
+ -p 5232:5232 \
+ --name radicale radicale
+br: build run