Trying to set up pleroma, got stuck on this step:
Then you need to run the script as PostgreSQL superuser (i.e. sudo su postgres -c "psql -f config/setup_db.psql"). It will create a pleroma db user, database and will setup needed extensions that need to be set up. Postgresql super-user privileges are only needed for this step.
When I run the command as root, it says "bash: postgres: command not found"
Plz someone who has done this, help.. I am on Debian 9 "Stretch", if that helps.