Wikiation installer

From MediaWiki extension testing

(Redirected from Installer)
Jump to: navigation, search

The Wikiation Extension Testing Environment WETE, includes functionality to install MediaWiki its extensions and functionality to perform tests.

Contents

Preconditions

Before you run the Wikiation installer, you should have a basic enviroment set up (LAMP), a SVN client and a functioning Internet environment ie a DNS setup.

Bash script

#!/bin/sh

# this script is only to be used for the initial installation

cd /usr/local
sudo bash
mkdir wikiation
cd wikiation
# get the installer software out of the WMF SVN
svn checkout http://username@fosdem.wikiation.nl/wete/trunk/installer

# create the site specific settings.. check out the mysql parameter
cd installer
cp settings.py.example settings.py

# Start the installer environment

./installer.py

# Install the testing toolkit
install wikiation_toolkit:wikiation_check_isolation
install wikiation_toolkit:wikiation_exttest
install wikiation_toolkit:pywikipedia

Verify the settings.py file

  • Check out the line about MySQL

The information should be appropriate to start MySQL functionality on this system.

  • Choose if your environment is a production or a testing environment.

When you select a testing environment, the system will establish a baseline for a MediaWiki installation and use this to compare the impact of an installed extension.

Updates

The Wikiation installer can update itself. There are stable versions to the software; you can backport to this latest version.

update_self

Will give you something like this:

installer > update_self
This could cause the wikiation_installer to break. Are you sure? Y/N
Continuing... 
At revision 48983.

wikiation_installer update attempted/completed. Restarting
----------------------------------------------------------

=== Wikiation installer (v.  48983) ===

(last known safe version: 48528)
Interactive mode. Automated testing is enabled.

Note: 'extension:' now means something else
if you want the old functionality: use 'scripted:'

please type a command and hit enter
help<enter> for help
^D, exit<enter> or quit<enter> to quit

More information

Be aware; the installer software in continue developing stage. Know what your are doing and next version will be better.

Personal tools