Cannonb4ll / laravel-philips-hue

Laravel Philips Hue package to control your lights with remote support
https://dennissmink.nl
MIT License
87 stars 12 forks source link

Add .env.example #9

Closed szepeviktor closed 3 years ago

szepeviktor commented 4 years ago

with all required and optional variables and some instructions

szepeviktor commented 3 years ago

😿

Cannonb4ll commented 3 years ago

Sorry, I missed the why and how, can you elaborate?

szepeviktor commented 3 years ago

If you don't have an env.example file all you have to rely on is the .env file - or maybe looking throughout the README.

You must have seen env.example files in many other projects.

Cannonb4ll commented 3 years ago

But the .env variables are already in the README:

PHILIPS_HUE_CLIENT_ID=
PHILIPS_HUE_CLIENT_SECRET=
PHILIPS_HUE_APP_ID=
PHILIPS_HUE_DEVICE_ID=
PHILIPS_HUE_USERNAME= <-- We will get this in below step

It is useless to add an .env.example file with just those variables.

szepeviktor commented 3 years ago

It is useless to add an .env.example file with just those variables.

Yes. Adding some instructions where/how to get those values would be the point.