We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
sudo apt install postgresql postgresql-contrib -y to install
sudo apt install postgresql postgresql-contrib -y
Create a new user:
sudo -u postgres createuser --superuser pia
Connect and change the pia password:
sudo -u postgres psql \password pia
Make a working copy of application and database config yaml files and update this file with your postgres configuration
cd /var/www/pia-back cp config/database.example.yml config/database.yml
Open the file nano pia-back/config/database.yml and add 'pia' as username and its password in the 'production' section at the bottom
nano pia-back/config/database.yml