HI.
I built the Celestial Bodies Database
related to this challenge.
In order to work with greater peace of mind I built the database locally, on my PC. Then I took it out the dump with this bash command:
pg_dump -cC --inserts -U postgres universe > universe.sql
I uploaded the dump file to my github repo and passed the verification link on the freeCodeCamp
page, but the system rejected my request with the following error message.
You must complete the project first.
Okay. I restarted my gitpod dashboard, added the ‘universe.sql’ file to my space, then I
tried to rebuild the database starting from the dump file with the following command:
psql -U freecodecamp < universe.sql
but gitpod
answered with the following error message:
ERROR: database "universe" does not exist
ERROR: option "locale_provider" not recognized
LINE 1: ...verse WITH TEMPLATE = template0 ENCODING = 'UTF8' LOCALE_PRO...
^
ERROR: database "universe" does not exist
\connect: connection to server at "127.0.0.1", port 5432 failed: FATAL: database "universe" does not exist
I created the database, now I wouldn’t want to redo it again on gitpod.
How can I upload my universe.sql
dump file to gitpod
causing the freeCodeCamp system to consider my project as completed?