]> git.decadent.org.uk Git - dak.git/blobdiff - setup/README
Merge remote-tracking branch 'jcristau/fix-orig-sig-check'
[dak.git] / setup / README
index d5481a764d9aa1c8cb9a7f09cfacf5e1a684a316..d53fb229a945a48a39a3819340c402aea889e5ff 100644 (file)
@@ -2,14 +2,14 @@ Initialising a dak database schema
 ==================================
 
 The following packages are needed for the database:
- * postgresql-9.1 postgresql-client-9.1 postgresql-9.1-debversion
+ * postgresql-9.4 postgresql-client-9.4 postgresql-9.4-debversion
 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 python-debian
+   symlinks python-debian python-debianbts
 
 (the schema assumes at least postgresql 9.1; ftpmaster in Debian currently uses
-the squeeze postgresql 9.1 backport)
+the postgresql 9.4 version from Debian 8)
 
 The following roles are assumed to exist:
  * dak: database superuser: needs to be an actual user
@@ -20,8 +20,8 @@ The following roles are assumed to exist:
 For the purposes of this document, we'll be working in /srv/dak
 
 Set up the dak user:
-# sudo addgroup --system ftpmaster
-# sudo adduser --system dak --ingroup ftpmaster --shell /bin/bash
+# sudo addgroup ftpmaster
+# sudo adduser dak --disabled-login --ingroup ftpmaster --shell /bin/bash
 
 Create postgres roles and database:
 # sudo -u postgres psql