Browse Source

preventing credential leaks

both ini files end up with secrets that should not be checked in
since they are user specifc, they should bnot be in version control
- moving example configs to have `.example` extension
- adding configs/*.ini to gitignore

fixes Jxck-S/plane-notify#60
pull/61/head
Mark Bumiller 3 years ago
parent
commit
fb1ae371c5
  1. 2
      .gitignore
  2. 1
      README.md
  3. 0
      configs/mainconf.ini.example
  4. 0
      configs/plane1.ini.example

2
.gitignore vendored

@ -1,3 +1,5 @@
configs/*.ini
# PyCharm
.idea
.vscode/settings.json

1
README.md

@ -67,6 +67,7 @@ cd plane-notify
### Configure main config file with keys and URLs (mainconf.ini) in the configs directory
- Copy `mainconf.ini.example` to `mainconf.ini` andCopy `plane1.ini.example` to `plane1.ini`. `plane1.ini` can change names as long as it ends with the ini extension
- Edit them with nano or vi on the running machine or on your pc and transfer the config to where you will be running the bot
- Pick between OpenSky and ADS-B Exchange
- The OpenSky API is free for everyone but the data is not as good as ADS-B Exchange. The ADS-B Exchange API is not free and this program will not work for the Rapid API from ADS-B Exchange. It only works with the API that they give when you have a partnership with ADS-B Exchange. It is not cheap to get the ADS-B Exchange full API, Don't contact them unless you are ready to pay.

0
configs/mainconf.ini → configs/mainconf.ini.example

0
configs/plane1.ini → configs/plane1.ini.example

Loading…
Cancel
Save