I’m starting the Build a Bike Rental Shop challenge with the new course rules(use vscode+docker+git). When I try to complete step 2 and connect to PostgreSQL using:
psql --username=freecodecamp --dbname=postgres
I get this error:
psql: error: could not connect to server: No such file or directory
Is the server running locally and accepting connections on Unix domain socket “/var/run/postgresql/.s.PGSQL.5432”?