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

Explore PWA implementation #12

Open
tslawecki opened this issue Oct 8, 2019 · 3 comments
Open

Explore PWA implementation #12

tslawecki opened this issue Oct 8, 2019 · 3 comments

Comments

@tslawecki
Copy link
Collaborator

Look into what's needed to implement this real-time app as a Progressive Web Application.

Breadcrumbs:

StackOverflow
Google
React example

@tslawecki
Copy link
Collaborator Author

Progress so far -

replicated trivial example from above,
stood up a t2.micro to host the example,
added letsencrypt cert,

waiting for DNS to propagate so we can test at https://ioos-pwa.limno.tech

@tslawecki
Copy link
Collaborator Author

https://ioos-pwa.limno.tech/ is now live - figured out that I needed to add reverse proxy to nginx to expose, and also had to pay attention to order of running http-server and restarting nginx.

Partial success on the phone end - I opened the link once in Chrome (on Android phone), waited ~10 minutes and reopened. As promised, Chrome asked me if I wanted to put the React app on my home screen. I think I replied "yes", but it didn't show. However, I do have the option when looking at the page in Chrome to run/open the React app.

I'll poke some more this PM.

@tslawecki
Copy link
Collaborator Author

Turns out the app was there on my Apps screen after all. Small nicety - the app updated automatically when a small text change was made on the server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants