Tell us what’s happening:
Online course doesn’t seem to work for me so I’ve been trying to use the offline one
^immediately ran into a problem. I pressed Ctrl+Shift+` to open a new terminal, wrote “echo hello terminal” and it failed.
^wasn’t given much instruction on where or how to use anything, so tried typing it Docker and tabbing back into VSCode to test, still failed.
Had many issues just getting the thing running with the instructions given, guessing I did something wrong setting things up.
Any help would be appreciated, especially any that would make the online version run. Tried enabling third party cookies and several browsers.
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36 Edg/119.0.0.0
Challenge Information:
Learn Bash by Building a Boilerplate - Build a Boilerplate
Managed to make it work.
You have to have the “rdb-alpha” folder open in VSCode before running “Dev Containers: Rebuild and Reopen in Container” and then “CodeRoad: Start”.
Tried running CodeRoad:Start by itself, which gave me an error window saying I need to use an empty folder.
Everything seems to work now.
I know it looks like I solved it minutes later, but I’ve been troubleshooting all day and coincidentally made a forum post minutes before figuring it.
Again, the online mode isn’t working, and the instructions on how to use the offline mode could be considerably clearer or more complete.
Here’s how I’d slightly adjust the instructions for other newbies like myself:
Follow these steps to run the docker container and start a tutorial:
- Use GitBash to clone the RDB Alpha repo to your computer with
git clone https://github.com/freeCodeCamp/rdb-alpha
- Open VSCode and select the
rdb-alpha
folder you just cloned.
- In VS Code, open the command palette with
Ctrl / Cmd + Shift + P
. Then, enter and run Dev Containers: Rebuild and Reopen in Container
3.1. Make sure Docker is open in the background.
- A new VS Code window will open and begin building the Docker image. It will take several minutes to build the first time
- Once the image is finished building, open the command palette again with
Ctrl / Cmd + Shift + P
, enter and run CodeRoad: Start
. The command won’t be available until the extension has finished installing in your container
- In the CodeRoad window, click “Start New Tutorial”
- Click the
URL
tab and enter the URL of the tutorial.json
file for the project you want to start (ex: https://raw.githubusercontent.com/freeCodeCamp/learn-bash-by-building-a-boilerplate/main/tutorial.json) Full list of available tutorials below.
- Click the “Start” button to start the lessons
Installed the CodeRoad Extension in VSCode at some point, unsure if that did anything or was necessary.
Thank you for joining me on this journey of fumbling and discovery.
1 Like