X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=setup%2FREADME;h=b3a08fb39c96d76e43770082b98bc613a846d7cf;hb=0ee90f4ef95923e4282ce776eea57dfe91fa6986;hp=c193e9a3cd480c9be8b512ba6f18ae306a36ec95;hpb=45c8685094cfb690e2c8479475f0e406ecf50375;p=dak.git diff --git a/setup/README b/setup/README index c193e9a3..b3a08fb3 100644 --- a/setup/README +++ b/setup/README @@ -41,8 +41,9 @@ Create the additional roles: Create an empty database with SQL_ASCII encoding: # createdb -T template0 -E SQL_ASCII -O dak projectb -Import the schema: -# psql -f current_schema.sql -d projectb +Import the schema. We redirect STDOUT to /dev/null as otherwise it's +impossible to see if something fails. +# psql -1 -f current_schema.sql -d projectb >/dev/null Set up some core data in projectb to get started (read the init_vars file if you wish to customise various aspects): @@ -67,7 +68,9 @@ WARNING: Please check these templates over and customise as necessary # cp templates/* /srv/dak/templates/ Set up a private signing key: don't set a passphrase as dak will not -pass one through to gpg. Guard this key carefully +pass one through to gpg. Guard this key carefully! +The key only needs to be able to sign, it doesn't need to be able +to encrypt. # gpg --no-default-keyring --secret-keyring /srv/dak/keyrings/s3kr1t/dot-gnupg/secring.gpg --keyring /srv/dak/keyrings/s3kr1t/dot-gnupg/pubring.gpg --gen-key Remember the signing key id for when creating the suite below. Here we'll pretend it is DDDDDDDD for convenience