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

Self hosted setup #1

Open
grego1981 opened this issue Jun 19, 2024 · 3 comments
Open

Self hosted setup #1

grego1981 opened this issue Jun 19, 2024 · 3 comments

Comments

@grego1981
Copy link

Hi and thank you for the awesome app!
What are the prerequisites to set this webapp on a self hosted machine? What are the requirements to make the web server make the magic happen? I have placed the file in an ngnix installation but the connect button does not open the serial select dialog and I get the image as in the attached image. Is there a guide to set this up?

image
@technik-gegg
Copy link
Owner

You won't need to set up your own server, just click on this link https://technik-gegg.github.io/SMuFF-WI/ and it'll be opened on Github. Once the page is fully loaded, it doesn't need the web-server anymore, since all code is running locally via WebSerial and scripting (you need a browser that supports WebSerial though).
If you however want a dedicated server, copy all the files and folders into the root folder and configure it accordingly.

@grego1981
Copy link
Author

Thank you for your prompt answer! I know about the online site, but due to restrictions in the environment I want to implement the SMuFF I need to host it internally.... So it needs just to be place in the root of the webserver no other prerequisites are needed on the server side? Sorry to persist but I'm trying to make it work as best as possible in this difficult environment....

@technik-gegg
Copy link
Owner

Correct, no prerequisites.
Although, make sure you don't access the web server via http://localhost or http://127.0.0.1 but rather via the real IP-Address.
Reason is: localhost is reserved for a WI website running on a dedicated MCU, i.e. ESP-32

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

No branches or pull requests

2 participants