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

In production do not run the remote project from development servers #10

Open
wurmr opened this issue Jun 18, 2019 · 3 comments
Open

In production do not run the remote project from development servers #10

wurmr opened this issue Jun 18, 2019 · 3 comments

Comments

@wurmr
Copy link
Contributor

wurmr commented Jun 18, 2019

Consider using node instead of nodemon to host the backend and host the compiled frontend either from the same node server or use http-server with the proxy switch.

This will make it so the slow raspberry pi hardware doesn't have to do the heavy lifting of webpack compile.

@milesburton
Copy link
Owner

Agreed, feel free to raise a PR. This is low on my list whilst I get to the bottom of why Tesla sometimes rejects the mounted USB

@wurmr
Copy link
Contributor Author

wurmr commented Jun 18, 2019

Is there an open issue for that rejection? I may have some insight on that. My USB splitter was hit and miss but plugging directly in it seems fine. dmesg output thru the splitter would show that the Tesla wouldn't come up as a device at all (even tho the Pi was getting power).

@milesburton
Copy link
Owner

Is there an open issue for that rejection? I may have some insight on that. My USB splitter was hit and miss but plugging directly in it seems fine. dmesg output thru the splitter would show that the Tesla wouldn't come up as a device at all (even tho the Pi was getting power).

Not yet, this GH has only started to gain traction outside of my own personal use. I've been waiting for a spare few minutes to sit in the back of the car with my laptop.

Originally it was an issue with partition tables, fixed that. Then it appeared to be the SDHC speed, fixed that. I've checked brownouts, that's also fixed.

Now I'm not entirely sure. I was debating whether to take a more powerful machine and mount a ramdisk and see how the car coped with it.

In short, would be good to get some more eyes on this code to get it back up and running again.

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