Skip to content

Commit

Permalink
Merge pull request #250 from biocommons/docs-install-db-dump
Browse files Browse the repository at this point in the history
docs: update readme instructions for installing db dumps
  • Loading branch information
reece authored Mar 2, 2024
2 parents 259da3d + 9a2ea1b commit ac8e34e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -243,11 +243,13 @@ the installation environment.*
uta_admin are likely to ease installation.

$ createuser -U postgres uta_admin
$ createdb -U postgres -O uta_admin uta
$ createuser -U postgres anonymous
$ createdb -U postgres -O uta_admin uta

3. Restore the database.

$ gzip -cdq uta_20150827.pgd.gz | psql -U uta_admin -1 -v ON_ERROR_STOP=1 -d uta -Eae
$ uta_v=uta_20210129b
$ gzip -cdq $uta_v.pgd.gz | psql -U uta_admin -1 -v ON_ERROR_STOP=1 -d uta -Eae

## Developer Setup

Expand Down

0 comments on commit ac8e34e

Please sign in to comment.