timwah / pokeslack

Get Slack messages posted to a #pokealert channel about rare Pokemon close to you
MIT License
38 stars 29 forks source link

Need some .env file help #17

Open SkOODaT opened 8 years ago

SkOODaT commented 8 years ago

how do i create an .env file im pretty good with this stuff but this absolutely eludes me

spinach commented 8 years ago

The way I did it: Go to any Text Editor, save the file with name ".env" without quotes.

And then go ahead and write your config variables into this file.

AUTH_SERVICE=google/ptc
USERNAME=account@gmail.com
PASSWORD=password
LOCATION_NAME=Some location, USA
RARITY_LIMIT=3
SLACK_WEBHOOK_URL=https://hooks.slack.com/services/XXX
DISTANCE_UNIT=meters/miles
NUM_STEPS=5
SkOODaT commented 8 years ago

awesome thank you strange you can save it from an editor as a .env but not just by renaming it guessing its windows preventing an empty file name