From d66a0d90a658d5094ba274c4b4c4c3d66d8254a3 Mon Sep 17 00:00:00 2001 From: cjd24 Date: Wed, 7 Feb 2018 03:09:50 +0000 Subject: Streamlined script for adding postgres, and added packages in preparation for writing ORM --- runmepostgres.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'runmepostgres.sh') 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; -- cgit v1.2.1