Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/parente/honey.data
https://github.com/parente/honey.data
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/parente/honey.data
- Owner: parente
- License: mit
- Created: 2020-08-23T02:02:34.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-23T18:48:59.000Z (almost 3 years ago)
- Last Synced: 2024-11-05T11:08:32.794Z (about 2 months ago)
- Language: Jupyter Notebook
- Size: 144 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# honey.data
Data collection and aggregation infrastructure for the
[honey.fitness](https://github.com/parente/honey.fitness) website.## Setup
Create a Terraform Cloud workspace with `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY` having admin
permissions in an AWS account. Clone this repository on the development machine. The run the
following.```bash
cd honey.data/infrastructure
# Provision AWS infrastructure
terraform apply
# Retrieve AWS access key and secret. Adjust pbcopy if not on macOS
terraform output access_key_id | tr -d '"' | pbcopy
terraform output secret_access_key | tr -d '"' | base64 --decode | keybase pgp decrypt | pbcopy
```Switch to working on the Raspberry Pi device for the remaining steps. Add the following profile to
`~/.aws/credentials`.```ini
[honey-data-bot]
region=us-east-1
aws_access_key_id=
aws_secret_access_key=
```Clone this repository as `/home/pi/honey.data`. Then run the following.
```bash
cd honey.data# One time: Make python3 the default on older rpi devices
make python3
# One time: Install poetry
make poetry
# When deps change: Set up the application environment
make venv
# When service configs change: Set up systemd services
make services
```