Using Commandline Postgress for Deploymnet

  • SSH into server as tast.
  • login to the database as tast: psql [DATABASE] [USER]. You may have to use /usr/bin/psql [DATABASE] [USER].
  • To run a script: \i [SCRIPT NAME]