Relational Database Curriculum

Im having an issue getting through step two on my Mac. - 2. Open a terminal, navigate to the rdb-alpha directory, and open VS Code with code .
I navigate as directed and follow the command but I just get back “command not found”.
Am I supposed to open docker and follow this directive or use the terminal app?

Hi @PurpleSm3rf !

Welcome to the forum!

I am also using a mac and the code . command didn’t work for me either.
But you can just open up visual studio code manually, by clicking on the vs code icon.
Screen Shot 2022-01-11 at 8.45.27 PM

Then you can click on the explorer icon, and open up the folder there.
Screen Shot 2022-01-11 at 8.46.08 PM
Screen Shot 2022-01-11 at 8.50.24 PM

Once you open up the folder in vs code, then go over to your docker desktop app to open it.
Screen Shot 2022-01-11 at 8.47.39 PM

You will probably see something like this.

Then go back to VS code and use the Cmd + Shift + P to open up the command palette.
Choose the Remote-Containers: Rebuild and Reopen in Container

You will probably see something like this at the bottom of the screen.
It will probably take a few minutes.

Screen Shot 2022-01-11 at 8.50.59 PM

Once it is finished go to the Docker app and you should see a new running container there.

Go back to VS code, run Cmd + Shift + P and choose the CodeRoad:Start option
Screen Shot 2022-01-11 at 8.53.39 PM

Now you should see this open up.
Screen Shot 2022-01-11 at 8.54.17 PM

Click on start new tutorial

Choose the url option, and paste the link for the first lesson.
here is the first lesson link.

https://raw.githubusercontent.com/freeCodeCamp/learn-bash-by-building-a-boilerplate/main/tutorial.json

Then click on load

You should see this

On the bottom right hand side of the screen, click on the start button
Screen Shot 2022-01-11 at 8.56.53 PM

Then click on terminal to open up a terminal in vs code
Screen Shot 2022-01-11 at 8.57.31 PM

Type in the first command and hit enter.
Screen Shot 2022-01-11 at 8.58.13 PM

If it doesn’t register, then you might have to exit out of the terminal and open up a new terminal again

Type in exit like this and hit enter
Screen Shot 2022-01-11 at 8.59.38 PM

Open up the terminal again and run the echo hello terminal command again and it should register this time.
Screen Shot 2022-01-11 at 9.00.44 PM

Sometimes, when you start a new course, it doesn’t register right away.
If that happens, just exit out of the terminal and open it up again.
From there everything should work fine.

Hope all of that made sense! :grinning:

4 Likes

In order to open VSCode with code ., you need to add it to your PATH variable. You will then need to close your terminal instance and restart it.

2 Likes

Thank you jwilkins.oboe!

Thank you @ArielLeslie !