1
0
mirror of https://git.fsfe.org/FSFE/fsfe-local-build.git synced 2026-04-20 11:23:06 +02:00

adding option to use python simplehttp webserver module which doesn't require users to install lighttpd

This commit is contained in:
2016-12-15 17:39:39 +01:00
parent 76a5a5bcd7
commit 121dbd003b
5 changed files with 58 additions and 10 deletions

View File

@@ -1,13 +1,29 @@
### BUILD DIRECTORIES ###
# SVN trunk directory (repository with XHTML source files)
LOC_trunk=~/subversion/fsfe/fsfe-web/trunk
# Directory in which the result of the build process (html files) will be saved
LOC_out=~/subversion/fsfe/local-build/fsfe.org
# Path to lighttpd config file (default: points to a file in the same directory as the script)
HTTPD_conf=$ROOT/lighttpd-fsfe.conf
# Directory of the secondary SVN directory with which you made a first full build.
# Avoids having some generated files in your clean trunk.
# Default: Leave empty if you just want to use one SVN source directory
# Default: Leave empty if you just want to use one SVN source directory (recommended)
LOC_trunk_dev=
### LOCAL WEBSERVER ###
# Choose your local webserver.
# Default is "python" which is python's inbuilt http server that is available on most distributions
# Use "lighttpd" if you want to use the Lighttpd webserver. This has to be configured manually (see guide)
HTTPD=python
# Choose on which port the webserver runs. This has no effect for "lighttpd".
HTTPD_port=5080
# If you use other webservers like "lighttpd", this is the path to its config file
# Default: points to a lighttpd config file in the same directory as the script
# Has no effect if you use the "python" webserver
HTTPD_conf=$ROOT/lighttpd-fsfe.conf