stanford-oval / genie-cloud

Genie As A Service and Thingpedia
https://genie.stanford.edu/
Apache License 2.0
295 stars 44 forks source link

Improve Google Lighthouse Rating for the website #330

Open gcampax opened 5 years ago

gcampax commented 5 years ago

The rating considers performance and accessibility, and it is currently... not great. We need to improve it.

blueocto commented 4 years ago

Hey @gcampax I'd love to help, however, you have 3 "forms" to deploy - which once would this be for?

gcampax commented 4 years ago

Hi @blueocto thanks for the offer to help, we'd love your contribution! I'm not sure I understand your question, what "forms" are you referring to?

blueocto commented 4 years ago

Hi @gcampax I'm looking to get the setup running locally, so I'm looking at the; "For detailed installation instructions, see doc/installing-almond-cloud.md" and the... "The basic form is to deploy Web Almond only. The second form is to deploy Web Almond + NLP The third form is to deploy a fully custom Thingpedia." Then there are some instructions after that... or is there an easier method, to replicate the environments, so I can make suggested changes and run Lighthouse?

gcampax commented 4 years ago

Well, this issue applies to all configurations, so the easiest way is to use a configuration with all the features enabled. That would be the fully custom Thingpedia.

For local test purposes, you can more or less replicate a complete running environment with:

./tests/thingpedia-integration.sh --webalmond-interactive

This sets up the full test environment and spawns a server at port 8080.

This option only works on Linux, and requires a working MySQL server, plus a few other dependencies. On other platforms, perhaps minikube and the kubernetes example scripts are an option, if you edit the configuration to enable the embedded Thingpedia. (basically, edit the configuration to match what thingpedia-integration.sh does)

By the way, if you want, you can hop on Discord and I can help you get set up interactively. Thanks for the help, by the way!