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