diff options
| author | mo khan <mo.khan@gmail.com> | 2019-12-30 16:01:30 -0700 |
|---|---|---|
| committer | mo khan <mo.khan@gmail.com> | 2019-12-30 16:01:30 -0700 |
| commit | 1366ed9101916514625597d2460b7de372148ed7 (patch) | |
| tree | fa11020f64f6f965478bee5595885271c5be99e0 /bin | |
| parent | 0e0884a0b7e1bc587343bd51464fa4f199233984 (diff) | |
Add setup script to initialize postgresql database
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/setup | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/setup b/bin/setup new file mode 100755 index 0000000..b3e010e --- /dev/null +++ b/bin/setup @@ -0,0 +1,5 @@ +#!/bin/sh + +DATA_DIR=db/data +rm -fr $DATA_DIR +initdb -D $DATA_DIR |
