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

How to self host. #2

Open
solonovamax opened this issue Apr 15, 2020 · 0 comments
Open

How to self host. #2

solonovamax opened this issue Apr 15, 2020 · 0 comments

Comments

@solonovamax
Copy link

There was no documentation on how to run this project. Due to this, I had to kind of make it up on my own.

After a bit of fiddling around, I managed to figure out that I need to run the web\index.js file, but it throws errors when I try to run it.

The first error (ReferenceError: Vue is not defined at var fin = new Vue({) was fixed by adding var Vue = require('vue'); just above it.

The next error (ReferenceError: updateGraphZ is not defined at updateGraphZ(V.analyticsZipCode);) is something I have no clue how to fix. It seems that this is a function within the graph.js file.
After importing those functions with this hacky bit of code, it threw yet another error:

var fs = require("fs");

eval(fs.readFileSync('graph.js')+'');

After that, it was giving me ReferenceError: window is not defined at an unknown point. From what I can tell, you're trying to use a variable that doesn't exist. I saw references to window, but there were no assignments to it.

I would greatly appreciate if you could add documentation on how to host this.

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

1 participant