source: locker/deploy/bin/mediawiki @ 240

Last change on this file since 240 was 127, checked in by jbarnold, 18 years ago
old copies of locker software
  • Property svn:executable set to *
File size: 763 bytes
Line 
1#!/usr/bin/perl
2use strict;
3use lib '/mit/scripts/deploy/bin';
4use onserver;
5
6setup();
7
8`cp skins/common/images/mediawiki.png skins/common/images/wiki.png`;
9
10print "\nPlease decide upon a title for your wiki and enter it below.\n";
11print "Desired title: ";
12my $title=<STDIN>;
13chomp($title);
14totmp("-d \"Sitename=$title&EmergencyContact=$USER\@mit.edu&LanguageCode=en&DBserver=$sqlhost&DBname=$sqldbcurl&DBuser=$sqluser&DBpassword=$sqlpass&DBpassword2=$sqlpass&defaultEmail=$USER\@mit.edu&SysopName=$admin_username&SysopPass=$admin_password&SysopPass2=$admin_password\"");
15`curl -K $tmp http://$server/~$USER/$addrend/config/index.php`; 
16`patch includes/Setup.php /mit/scripts/deploy/mediawiki.patch >/dev/null`;
17`cp config/LocalSettings.php .`;
18`rm -rf contrib`;
Note: See TracBrowser for help on using the repository browser.