Build a Student Database: Part 1 - Build a Student Database: Part 1

Tell us what’s happening:

I was just working on the Build a Student Database: Part 1 workshop then took a break. When I came back to restart the code space, I couldn’t connect to psql or the database in general. So, I closed out the tab and I’m trying to get back into that VM. However, I don’t want to start from the very start when I click ‘Start the course’ and then click ‘create codespace’. How do I start back from where I was?

Your code so far

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/148.0.0.0 Safari/537.36

Challenge Information:

Build a Student Database: Part 1 - Build a Student Database: Part 1

GitHub Link: freeCodeCamp/curriculum/challenges/english/blocks/workshop-sql-student-database-part-1/602da0c222201c65d2a019f5.md at main · freeCodeCamp/freeCodeCamp · GitHub

Never mind, it just reset me to the beginning anyways…

the correct way to restart is to go back to the codespaces workspace and reopen the workspace. Then click Reset. Then close the terminal. Then open a new terminal. This should now allow you to connect to the db again.

Where is the reset button located? I would like to be able to sync the workspace across devices and not have it reset my progress when I turn on my pc the next day.

It says here if I already started this workshop, then I should go to the repository page that is linked. However, the steps listed here seem to running it on your local machine. Shouldn’t the user token inputted save my progress?

I tried two different approaches. One with GitHub workspaces and one on my local machine. However, when I tried to get back into the work environment for both the next day it simply reset my progress or wouldn’t let me log into the database.

Second image is the workspace on my local machine. It seemed to save my progress, but it’s not letting me log into postgres. Additionally, it doesn’t list the files in the directory.

if you already used codespaces and want to return, you have to go to the codespaces dashboard here Sign in to GitHub · GitHub
you will see a list of codespaces that you made. You need to restart the one you need from there.
Once restarted, you will see the Reset button in the middle of the screen (to the right of the Run button)