changed readme

This commit is contained in:
Paul Wilde 2022-11-11 20:47:21 +00:00
parent 63a0a383c3
commit 3fbb47fc06
3 changed files with 7 additions and 2 deletions

1
.gitignore vendored
View file

@ -4,4 +4,5 @@ postgres
build build
config config
soapbox.zip soapbox.zip
script_config.sh
db.sql db.sql

View file

@ -1,3 +1,5 @@
#!/bin/bash #!/bin/bash
podman exec rebased-db pg_dump -U pleroma pleroma > db.sql source ./script_config.sh
podman exec rebased-db pg_dump -U $PG_USER $PG_NAME > db.sql

View file

@ -1,4 +1,6 @@
#!/bin/bash #!/bin/bash
podman exec rebased-db psql -U pleroma pleroma < db.sql source ./script_config.sh
podman exec rebased-db psql -U $PG_USER $PG_NAME < db.sql