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

Github Codespaces Support 🪐 #2125

Merged
merged 2 commits into from
Nov 3, 2023
Merged

Github Codespaces Support 🪐 #2125

merged 2 commits into from
Nov 3, 2023

Conversation

masenf
Copy link
Collaborator

@masenf masenf commented Nov 3, 2023

Make reflex work on github codespace.

Fix #1260
Fix #698

codespaces_demo.mp4

does not need node anymore, reflex installs it automatically

label autoforward ports

auto install reflex via poetry and clone reflex-examples for faster start
"onAutoForward": "notify"
},
"8000": {
"label": "Backend"
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we auto-forward the backend port?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

As far as i know, we have to forward it, and explicitly make it public (since you can't do that in the conf here). It's because each port actually runs on different subdomains through github's proxying infrastructure.

@picklelo picklelo merged commit e6b0255 into main Nov 3, 2023
37 checks passed
Alek99 pushed a commit that referenced this pull request Nov 7, 2023
@masenf masenf deleted the masenf/codespaces branch November 11, 2023 17:25
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.

Github Code Spaces Template Websockets in Github Codespaces
2 participants