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
Internet access required for client? #51
Comments
This was already resolved: #33 justpy.env Then make a copy of all of the templates from https://github.com/elimintz/justpy/tree/master/justpy/templates Then download all of the resources and source the path in the template file. |
Thanks! If I'm not using any custom templates, is there any thing else I need to do besides copying the templates and modifying the justpy.env file? |
@samesand This is a much more simple solution I hope. |
Thats awesome! |
This is great! Thanks, and thank you for creating such great library.
…On Apr 22, 2020, 12:37 PM -0700, Knoxville Database ***@***.***>, wrote:
Thats awesome!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
I tried this today after upgrading to 0.0.9, but the client is still asking for internet connection. Is there anything else I need to do in addition to edit the justpy.env? |
Could you please post a program you have problems with? |
Actually, I just tested changing the host and the port number using the justpy.env file and it doesn't have any effect, so it seems that it's not reading the configuration file. Here is what I have:
Is there anything else I need? Thanks. |
Google Chrome on Windows 10 |
I think the problem may be that you added
to your program. Remove this line and see what happens. |
I tried and I got the same result. This is my code: ` import datetime as dt
` |
I don't have access to some libraries you are importing so can't run the program. Try the following simple program:
justpy.env looks like this:
I disconnect my internet and it runs. Please try it on your end and let me know what happens. |
I tried the program with the same result. I added the HOST and PORT configuration lines to the justpy.env file to see if they had any effect, and they don't, so it seems that it's not reading the juspy.env file or ignoring it. Thanks for your help. |
Could you please check that the file in the directory the program is run from? I can't think of any other reason why this would not work. |
I have the justpy.env in the same folder as the file I posted before. I created the file with notepad. |
I'm sorry, I can't think of a reason this would not work. I can't replicate the issue. |
I have deployed a web page on my intranet using Justpy (which is great by the way!), but I have a couple of clients that do not have access internet access, and they cannot display the web page, as soon as I enable internet access they are able to display the page correctly, but I cannot leave internet access enabled.
Any work around or setting I can modify to make a justpy page work without internet access?
The text was updated successfully, but these errors were encountered: