tailuge / bot-o-tron

Try out lichess' bot interface
https://bot-o-tron.onrender.com/
GNU General Public License v3.0
39 stars 24 forks source link

Added example .env file and tidied up README #1

Closed harrymt closed 6 years ago

harrymt commented 6 years ago

Separated environment bariables into file

Tidied up README

coveralls commented 6 years ago

Pull Request Test Coverage Report for Build 36


Totals Coverage Status
Change from base Build 29: 0.0%
Covered Lines: 4
Relevant Lines: 23

💛 - Coveralls
harrymt commented 6 years ago

@tailuge I have added a production check, so the .env file is only used during development and not in production / heroku

tailuge commented 6 years ago

Somehow I'm still bothered by the .env file hanging around :) Is the motivation for this making it easier to run in Windows?

harrymt commented 6 years ago

@tailuge fair enough. 😄 The idea behind using a .env file is based on the 12 Factor App.

The key benefits are:

Downsides:

harrymt commented 6 years ago

Removed all dotenv stuff, just tidied up README