Commit Graph

10 Commits

Author SHA1 Message Date
Evan Prodromou
7f1a30dc40 allow setting some initial tags on a new network 2011-06-01 10:53:46 -04:00
Evan Prodromou
78a9d4966e set the permissions properly for installer 2011-05-05 14:38:19 -07:00
Brion Vibber
e7a5471287 add additional post-install shell script option for setup_status_network.sh to do any other site-specific setup 2010-01-27 15:37:18 -08:00
Brion Vibber
06cd335897 Add scripts/sendemail.php to send email to a user's address. Updated setup_status_network.sh to create a user with the site's nick, accept site tags, and send a mail to the user (if a template is set)
Email and tag params added to the end:
setup_status_net.sh mysite 'My Site' 'owner@example.com' '1user'

(If multiple tags are needed, separate them with a pipe "|". Be sure to quote properly!)

New parameters for setup.cfg need to be set:
export PHPBASE=/var/www/statusnet
export WILDCARD=example.net
export MAILTEMPLATE=/etc/statusnet/newsite-mail.txt
export MAILSUBJECT="Your new StatusNet site"

$PHPBASE is the base dir for a callable StatusNet install, used to run command-line scripts for user setup.
$WILDCARD is the wildcard domain, needed to build a full server name to pass into command-line scripts.
$MAILTEMPLATE points to a file containing an e-mail message template. '$nickname', '$sitename', and '$userpass' can be used in the template for substitution.
$MAILSUBJECT is the subject line for said email.

To skip sending an email on creation, leave $MAILTEMPLATE blank or point to a non-existing file.
2010-01-27 15:12:19 -08:00
Evan Prodromou
a4402eedb3 use different name for connection and database 2009-06-23 11:22:54 -07:00
Evan Prodromou
a515c3ce53 other base directories 2009-06-23 10:43:50 -07:00
Evan Prodromou
009e40834c pwgen not pwdgen 2009-06-23 09:19:54 -07:00
Evan Prodromou
545cbb2c82 make pwgen command configurable 2009-06-23 09:18:10 -07:00
Evan Prodromou
85b4c24188 add dbhost argument for status network setup 2009-06-17 16:30:16 -07:00
Evan Prodromou
01c03223c2 Script to set up new status networks 2009-06-15 15:13:24 -07:00