Commit 38565381 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

add defaults for psql command

parent a15be20f
......@@ -86,5 +86,12 @@ ln minerva-scripts/server/ /etc/cron.daily/minerva
#create .pgpass for later db management
echo "localhost:5432:map_viewer:map_viewer:123qweasdzxc" > .pgpass
echo "" > .pgpass
chmod 0600 .pgpass
chown $USER .pgpass
#define default hostname and user for 'psql' command
echo >>.bashrc
echo "export PGUSER=map_viewer" >>.bashrc
echo "export PGHOST=" >>.bashrc
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment