Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: local vscode in web #369

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

feat: local vscode in web #369

wants to merge 6 commits into from

Conversation

ShaunSHamilton
Copy link
Owner

@ShaunSHamilton ShaunSHamilton commented Jan 9, 2024

Test

  1. Checkout freeCodeCamp/freeCodeCampOS chore_image branch
  2. Develop /learn as normal with upcoming changes
  3. Within freeCodeCampOS/code-server/ run docker compose up
  4. Open localhost:8000/learn in the browser
Info

Notes

  • ~/.config/code-server/config.yaml for coder config
  • ~/.local/share/code-server/ for VSCode stuff
  • ~/.local/share/code-server/coder.json for workspace config

Coder forwards ports through a proxy /proxy/<port>. That is, to access a webpage created in the container at localhost:3000, the browser needs to go to localhost:8080/proxy/3000, where localhost:8080 is the address of the coder server.

ToDo

  • Get port forwarding/proxies working for freeCodeCamp-OS
  • Adjust config to start freeCodeCamp-OS without intervention
  • Add base tooling for images
  • Figure out how to have a click import just a sub-section of the curricula
  • Add sane VSCode config
Pictures image image image image

Copy link

@ojeytonwilliams ojeytonwilliams left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This'll get something running

Dockerfile.vsweb Outdated Show resolved Hide resolved
Dockerfile.vsweb Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants