X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=setup%2FREADME;h=1ea78ee3a8e4c753885409591a760010b99fcef3;hb=5d9f54ab9ea4652d2a97f1d2b3d152f20f664ab8;hp=0a1d4ddfb50ea9ff318d02df30860f3739d0a487;hpb=1ad90c41b0ba5d1144af4f739d3abfa5ebbe59c2;p=dak.git diff --git a/setup/README b/setup/README index 0a1d4ddf..1ea78ee3 100644 --- a/setup/README +++ b/setup/README @@ -6,7 +6,7 @@ The following packages are needed for the database: and the following packages for dak itself: * python-psycopg2 python-sqlalchemy python-apt gnupg dpkg-dev lintian binutils-multiarch python-yaml less python-ldap python-pyrss2gen python-rrdtool - symlinks + symlinks python-debian (the schema assumes at least postgresql 9.0; ftpmaster in Debian currently uses the squeeze postgresql 9.0 backport) @@ -41,6 +41,9 @@ Create the additional roles: # createuser -S -R -D ftpmaster # createuser -S -R -D ftpteam # createuser -S -R -D ftptrainee +# psql -d projectb -c "ALTER GROUP ftpteam ADD USER ftpmaster" +# psql -d projectb -c "ALTER GROUP ftptrainee ADD USER ftpmaster" +# psql -d projectb -c "ALTER GROUP ftptrainee ADD USER ftpteam" Create an empty database with SQL_ASCII encoding: # createdb -T template0 -E SQL_ASCII -O dak projectb