diff options
| author | cjd24 | 2018-02-07 03:09:50 +0000 |
|---|---|---|
| committer | cjd24 | 2018-02-07 03:09:50 +0000 |
| commit | d66a0d90a658d5094ba274c4b4c4c3d66d8254a3 (patch) | |
| tree | 997352d8fdc611f7a16df9ed409c706413cd877e /runmepostgres.sh | |
| parent | Merge branch 'cjd24/stubsgres' into 'master' (diff) | |
| download | medicine-d66a0d90a658d5094ba274c4b4c4c3d66d8254a3.tar.gz medicine-d66a0d90a658d5094ba274c4b4c4c3d66d8254a3.zip | |
Streamlined script for adding postgres, and added packages in preparation for writing ORM
Diffstat (limited to 'runmepostgres.sh')
| -rwxr-xr-x | runmepostgres.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/runmepostgres.sh b/runmepostgres.sh index fb68e5e..632ea66 100755 --- a/runmepostgres.sh +++ b/runmepostgres.sh @@ -1,7 +1,8 @@ #!/bin/bash +read -p "Press [Enter] key to start Postgres (will already be running if you just got it) use ctl+c to cancel"; echo "> Starting Server"; ~/pg/postgres/bin/pg_ctl -D ~/pg/postgres/data/ -l POSTGRES_logfile start; -echo "> Conecting as admin user: " + ${USER}; -~/pg/postgres/bin/psql -U ${USER} postgres; +#echo "> Conecting as admin user: " + ${USER}; +#~/pg/postgres/bin/psql -U ${USER} postgres; |
