summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2024-03-01 16:09:56 -0300
committerEuAndreh <eu@euandre.org>2024-03-01 16:11:17 -0300
commit013f9222f3134460a43fd79446b59237916cf0c3 (patch)
tree8d83c437c215f4b8260f513820830ebfcd326ee3 /Makefile
parentsrc/web.mjs: Try out new hero API (diff)
downloadpapod-013f9222f3134460a43fd79446b59237916cf0c3.tar.gz
papod-013f9222f3134460a43fd79446b59237916cf0c3.tar.xz
Setup user-level lighttpd reverse proxy for development and testing
Add static files as in production, too.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e0789d3..fce3ce3 100644
--- a/Makefile
+++ b/Makefile
@@ -57,6 +57,7 @@ derived-assets = \
side-assets = \
tests/hero-0.sock \
tests/hero-1.sock \
+ lighttpd.sock \
ircd.sock \
web.sock \
@@ -142,9 +143,12 @@ run-web: all
rm -f web.sock
./src/bin.mjs web web.sock
+run-proxy: all
+ lighttpd -Df tests/lighttpd.conf
+
## Run the web and IRC server locally.
run: all
- $(MAKE) run-ircd & $(MAKE) run-web & wait
+ $(MAKE) run-ircd & $(MAKE) run-web & $(MAKE) run-proxy & wait
## Show this help.