Replace documentation on dumps with some example configuration
Since the machine running data.qa.guix.gnu.org doesn't currently have the disk space to generate dumps.
This commit is contained in:
parent
2b6bdcac08
commit
2e91f31559
2 changed files with 25 additions and 10 deletions
14
README.org
14
README.org
|
|
@ -65,12 +65,6 @@ allow=.
|
|||
|
||||
** Setup the database
|
||||
|
||||
Dumps of the database behind data.guix.gnu.org are available at
|
||||
http://data.guix.gnu.org/dumps, use the following URL to download the latest
|
||||
small dump.
|
||||
|
||||
http://data.guix.gnu.org/dumps/latest/guix_data_service_small.dump
|
||||
|
||||
There are multiple ways you can setup the database, the instructions here
|
||||
involve creating a =guix_data_service= user with a password, then connecting
|
||||
to the database over the local network interface.
|
||||
|
|
@ -86,12 +80,12 @@ createdb guix_data_service --owner=guix_data_service
|
|||
|
||||
You may need to run these commands as the postgres user.
|
||||
|
||||
To restore the downloaded dump, run =pg_restore=. This command should prompt
|
||||
for a password, at which point enter the password for the database user that
|
||||
you set earlier.
|
||||
The database contains the configuration for what repositories and build
|
||||
servers to track, some example configuration is provided and you can load this
|
||||
in to the database by running:
|
||||
|
||||
#+BEGIN_SRC shell
|
||||
pg_restore --jobs=4 --user=guix_data_service --no-tablespaces --host=127.0.0.1 --dbname=guix_data_service guix_data_service_small.dump
|
||||
./pre-inst-env guile example-repositories-setup.scm
|
||||
#+END_SRC
|
||||
|
||||
** Set the database paramstring
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue