diff options
-rw-r--r-- | Makefile | 5 | ||||
-rw-r--r-- | README | 17 | ||||
-rw-r--r-- | acf.conf | 2 |
3 files changed, 18 insertions, 6 deletions
@@ -8,6 +8,7 @@ DISTPKG=$(P).tar.bz2 SUBDIRS=app lib www EXTRA_DIST=ChangeLog Makefile README TODO +CONF_FILES=acf.conf DISTFILES=$(EXTRA_DIST) @@ -48,6 +49,8 @@ $(DISTPKG): distdir $(DISTFILES) rm -r $(DISTDIR) phony+=install -install: install-recursive +install: install-recursive $(CONF_FILES) + mkdir -p $(DESTDIR)/etc/acf + cp $(CONF_FILES) $(DESTDIR)/etc/acf .PHONY: $(phony) @@ -1,11 +1,18 @@ Alpine Configuration Framework (A work in progress.) -You can checout from svn to another location and run "make checkpkg DESTDIR=/" -to make sure that all files get included in dist package. +To install the package run: -The config file should be in /etc/acf/acf.conf and contain: + make install -appdir=/var/lib/acf/app/ +To set up mini_httpd create a /etc/mini_httpd.conf file containing: +nochroot +dir=/usr/share/acf/www +user=nobody +logfile=/var/log/mini_httpd.log +cgipat=cgi-bin/* +#host=<ip-addr> -(or wherever your app dir is) +Then start mini_httpd with: + + mini_httpd -C /etc/mini_httpd.conf diff --git a/acf.conf b/acf.conf new file mode 100644 index 0000000..f3718ff --- /dev/null +++ b/acf.conf @@ -0,0 +1,2 @@ +appdir=/usr/share/acf/app/ +libdir=/usr/share/acf/lib/ |