benbusby / piro

A Raspberry Pi security camera rover
MIT License
100 stars 17 forks source link

Setup script issues #8

Closed geek-at closed 5 years ago

geek-at commented 5 years ago

Hello again! Here are a few things I found:

benbusby commented 5 years ago

Thanks for the pointers! I unfortunately wrote the setup script from memory, so I'm not surprised you're finding problems there. I should have written the script while I built the project, not afterwards.

Again, thank you for the help in pointing these out!

benbusby commented 5 years ago

The first and fourth have been fixed now, and since the third pointer isn't an issue I'm going to close this. Feel free to reopen if you disagree. I also created #9 to address your second pointer, but that will probably be lower priority for the time being.

lizard626 commented 5 years ago

Additional issue: When the setup.sh script gets to the Flask section, it fails with Error: Could not locate Flask application. You did not provide the FLASK_APP environment variable.

benbusby commented 5 years ago

@lizard626 that seems weird. FLASK_APP should never even need to be set for installing anything, it's only used for running the application (which the setup script doesn't do). I just did a fresh install/setup not too long ago and didn't encounter this either.

I created #13 to look into it though -- creating a new issue is preferred over commenting on old/closed ones btw. Feel free to continue the discussion over there!