Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joacosnchz/energy-bills
https://github.com/joacosnchz/energy-bills
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/joacosnchz/energy-bills
- Owner: joacosnchz
- Created: 2024-02-22T21:15:42.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-06-10T21:14:29.000Z (8 months ago)
- Last Synced: 2024-11-05T19:55:30.502Z (3 months ago)
- Language: Python
- Size: 83 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Introduction
This project obtains data form Emporia Energy API (unofficial) to generate invoices using Stripe# Links
- [Emporia Energy API](https://emporia-connect.xyt.co.za/api/documentation#/)
- [Google sheets API](https://developers.google.com/sheets/api/quickstart/python)
- [Stripe API](https://docs.stripe.com/api)# Setup local environment
1. Create `.env` file based on `.env.example` on `deployments/local` and on `migrations/`
2. Start local services: `cd deployments/local && docker compose up -d`
3. Run migrations: `cd migrations && ./upgrade.sh`# Run
- To build: `deployments/local/build.sh`
- To run: `deployments/local/run.sh`