⇤ ← Revision 1 as of 2012-12-18 00:59:04
Size: 406
Comment: basic notes on new moin setup
|
Size: 805
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 3: | Line 3: |
Let `$moin = /afs/hcoop.net/common/app/moin`. `$version` is the moin version as three digits without the dots, e.g. 195 for 1.9.5 | Let |
Line 5: | Line 5: |
* Source: `$moin/src/moin$version` * prefix/datadir = `$moin/installed/moin$version` |
* `$moin` = `/afs/hcoop.net/common/app/moin`. * `$version` is the moin version as three digits without the dots, e.g. 195 for 1.9.5 * `$majversion` is the $version, minus the final digit e.g. 19 for 1.9.x. This lets us upgrade an entire series without require reconfiguration. * `$sourcedir` = `$moin/src/moin$version` * `$targetdir` = `$moin/installed/moin$majversion` |
Line 9: | Line 12: |
== Installation of a new version == Download and unpack source into the appropriate `$sourcedir`. Install: {{{ python moin.py -force --record=install_$version.log --prefix=$targerdir --install-data=$targetdir }}} |
1. File System Layout
Let
$moin = /afs/hcoop.net/common/app/moin.
$version is the moin version as three digits without the dots, e.g. 195 for 1.9.5
$majversion is the $version, minus the final digit e.g. 19 for 1.9.x. This lets us upgrade an entire series without require reconfiguration.
$sourcedir = $moin/src/moin$version
$targetdir = $moin/installed/moin$majversion
$moin/installed is set in DomTool's Config.worldReadable list so that all members can serve moin static content.
2. Installation of a new version
Download and unpack source into the appropriate $sourcedir. Install:
python moin.py -force --record=install_$version.log --prefix=$targerdir --install-data=$targetdir