Skip to content

Commit

Permalink
added a readme and put the task back in
Browse files Browse the repository at this point in the history
  • Loading branch information
Murrayw123 committed Nov 14, 2021
1 parent 69eaaf6 commit 01ade2d
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 4 deletions.
27 changes: 27 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Health Exporter

Export all your health and lifting metrics to InfluxDB so you can make some pretty graphs on Grafana. At the moment it supports
- MyFitnessPal
- Repcount
- Garmin **WIP**
- Google Fit **WIP**


## Local Installation
1. Create a virtualenv

2. Install required packages
```bash
pip install -r requirements.txt
```
3. Run the thing
```python
python main.py
```

## Hosting
I use InfluxDB cloud, Grafana Cloud and Heroku because it runs fine on free tier on all of them. There's a procfile included.


## License
[MIT](https://choosealicense.com/licenses/mit/)
7 changes: 3 additions & 4 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ def run_task(self):

if __name__ == "__main__":
tr = TaskRunner()
tr.run_task()
# scheduler = BlockingScheduler()
# scheduler.add_job(tr.run_task, "interval", seconds=600)
# scheduler.start()
scheduler = BlockingScheduler()
scheduler.add_job(tr.run_task, "interval", seconds=600)
scheduler.start()

0 comments on commit 01ade2d

Please sign in to comment.