3 # This script installs or deletes a MediaWiki on your computer.
4 # It requires a web server with PHP and SQLite running. In addition, if you
5 # do not have MediaWiki sources on your computer, the option 'install'
6 # downloads them for you.
7 # Please set the CONFIGURATION VARIABLES in ./test-gitmw-lib.sh
9 WIKI_TEST_DIR=$(cd "$(dirname "$0")" && pwd)
11 if test -z "$WIKI_TEST_DIR"
16 . "$WIKI_TEST_DIR"/test-gitmw-lib.sh
19 echo " ./install-wiki.sh <install | delete | --help>"
20 echo " install | -i : Install a wiki on your computer."
21 echo " delete | -d : Delete the wiki and all its pages and "
23 echo " start | -s : Start the previously configured lighttpd daemon"
24 echo " stop : Stop lighttpd daemon."
28 # Argument: install, delete, --help | -h
51 echo "Invalid argument: $1"