This has to be done only once:
-
Replace ENV Variables in
connect.sh
andpsql-secret.sh
(password does not need to be set and will be read secretly when executing the script) -
Make both scripts executable:
chmod +x ./psql-secret.sh chmod +x ./connect.sh
-
Create the secret with:
./psql-secret.sh
(enter PW when prompted)
After this, you can start the interactive shell by executing:
./connect.sh