-
Notifications
You must be signed in to change notification settings - Fork 997
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 Code Spaces Template #1260
Comments
@Alek99 could you please assign this to me, I am looking to contribute to this project. thanks! |
@Alek99 I have the template repository and the readme instructions ready. Here is the template repository - https://github.com/rahulbagai/pynecone-template and here is the README instructions
Could you please help review and allow me to make the contributions to pynecone repos. thanks! |
Awesome thanks! I'll test this, after I confirm it works the next steps have a couple options: a) We make a subfolder in the main Pynecone repo and add this code there. b) I make another public repo under the Pynecone organization just to have this code. |
I tried this with the counter app and it seems that state is not working with code spaces. Based on a discord discussion I had with a user I think it may require some special configuration for code spaces to support web sockets? Is the counter example working with your code spaces instance? |
@Alek99 Ah my bad! I was working on local devcontainer and it worked fine there. I will test it out in codespaces as well, make necessary changes and send the change request. |
@Alek99, I've been investigating a challenge I've encountered and would appreciate your guidance. I've been running a Pynecone application (counter app) in Github Codespaces. However, I've noticed that while the app runs locally on localhost:3000, there might be some necessary adjustments or configurations required to make it fully compatible with Codespaces, which provides a cloud-based development environment, especially regarding the support for WebSockets. I've confirmed this based on the following browser logs:
The issue seems to be mixed content, which occurs when a webpage loaded over a secure HTTPS connection attempts to load resources via an insecure HTTP or WebSocket connection. To mitigate this, I believe we should switch to a secure WebSocket connection (wss://) rather than an insecure one (ws://). However, I'm unsure whether Pynecone currently supports this functionality. Upon inspecting the Here are a few potential solutions I've considered:
Could you please advise on the best way to proceed? I would greatly appreciate your insights. |
I hope you're doing well. I am following up on the issue related to the integration of Pynecone. I'd like to know if there have been any updates or progress. Specifically, I would appreciate any information on the following:
I appreciate your time and support throughout this process. Any updates or guidance you can provide would be highly appreciated. Thank you! |
@Alek99 I have submitted a pull request for this feature. Would you kindly review it? |
If anyone if familiar with GitHub code spaces it would be awesome if we have a template with Pynecone preloaded so new users can experiment as fast as possible. We can also put a link to the template in the readme.
The text was updated successfully, but these errors were encountered: