DEV Community

Ethan Huang
Ethan Huang

Posted on • Updated on

TIL #2 Codespace

TLDR: Codespace = VS Code in browser

I think it's crazy that a tool as powerful as VS Code can be done all within a browser, without needing the extensive download times, extensions, and packages (unless that comes in the future). Codespace is a really neat tool, and going through this assignment helped me understand a new way to perform source control. I was so used to typing in the 'git push', 'git commit - m', etc. that I didn't realize that Codespace just needed 3 clicks instead. Well, maybe VS Code can do that too, but when I used it beforehand I didn't know it was that simple. Leaving myself a few notes here, in case I need the refresher especially with the new 'rackup' and 'rake grade' commands.

Checking live preview and running tests in the terminal

  1. Click the + sign to add another Bash prompt
  2. Type "rackup" as the command (no "")
  3. Live preview complete!
  4. Click on ports
  5. Under 'Local Address' click the globe to open in new browser
  6. Git Source Control (left side squiggly icon)
  7. Add a comment describing changes
  8. Commit/ Sync Changes
  9. Go to normal Bash Prompt
  10. Type "rake grade"
  11. Open Rake Grade assignment and copy paste the assignment token (rinse and repeat until everything works, click the red tests to find issues!)

P.S- I'm going to look into what exactly the Bash terminal is (and puma!)

Top comments (0)