mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
Add a script to spawn a local testing database
This commit is contained in:
parent
8cfb1b01ab
commit
1ef798e399
2 changed files with 7 additions and 0 deletions
5
scripts/run-test-db.sh
Executable file
5
scripts/run-test-db.sh
Executable file
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Runs a local database in the background listening on port 5432, deleting itself once stopped
|
||||
# Requires Docker. May need sudo if your user isn't in the `docker` group.
|
||||
docker run --rm --detach --publish 5432:5432 -e POSTGRES_HOST_AUTH_METHOD=trust postgres:alpine
|
||||
Loading…
Add table
Add a link
Reference in a new issue