criticalfault / HomeFlix

An at home video streaming webserver built with Node.js and Express. Giving you full control of your media!
MIT License
8 stars 4 forks source link

Use config script instead of env #20

Closed ekaneff closed 5 years ago

ekaneff commented 5 years ago

just some initial finagling to make the setup and start up process a little cleaner (see commit description)

ekaneff commented 5 years ago

There are lots of ways we could go with this, but I wasn't sure what we wanted the expected behavior to be. For example, we can instead make it so that the app will start without the configured path and then just have a thing on the videos page thats like "no videos available" or something that it defaults to if the path is invalid or not there.

criticalfault commented 5 years ago

I think this is a great start. I wanted to have a config file some place so when we get into the deeper installs we could just prompt the user and have them enter it and then run from there. All depends if we want to one day move this whole bad boy into something like Ionic or what not.