Compare commits
No commits in common. "3f17cd9ec2f81a3ed21c32458d6d40d3db0ba272" and "97c4dbc1eedcd1e252d34abcec0ff2f1d6e4756c" have entirely different histories.
3f17cd9ec2
...
97c4dbc1ee
@ -4,7 +4,7 @@ This repo contains a set of scripts to sync data around for the Claremont MakerS
|
||||
|
||||
## Setup
|
||||
|
||||
This project uses [Poetry](https://python-poetry.org/) for dependency management. Typical usage is first running `poetry install` to create a virtualenv and install dependencies, then running `poetry run <script>` to start a specific script.
|
||||
This project uses [Poetry](https://python-poetry.org/) for dependency management. Typical usage is first running `poetry install` to create a virtualenv and install dependencies, then running `poetry run bin/<script>` to start a specific script.
|
||||
|
||||
## Config
|
||||
|
||||
@ -12,7 +12,7 @@ Many of the scripts use data from a `config.yaml` in the current working directo
|
||||
|
||||
## Scripts
|
||||
|
||||
The primary entry points have scripts entries (`tool.poetry.scripts`) in [`pyproject.toml`](./pyproject.toml). They assume that they are being run from a module, so must be run with `poetry run <script>` or `python -m memberPlumbing.<script> main`.
|
||||
The primary entry points have scripts in [`bin`](./bin/). They assume that memberPlumbing is in `PYTHONPATH`, which can either be done with `poetry` or manually set.
|
||||
|
||||
### `doorUpdater`
|
||||
|
||||
@ -26,10 +26,6 @@ Retrieves member information from MembershipWorks and pushes it out to [UCS](htt
|
||||
|
||||
Retrieves account and transaction information from MembershipWorks, and pushes it to a MariaDB database for use in other projects. Schemas are defined with [peewee](peewee-orm.com) in [`memberPlumbing/mw_models.py`](./memberPlumbing/mw_models.py).
|
||||
|
||||
### `upcomingEvents`
|
||||
|
||||
Retrieves upcoming events from MembershipWorks and formats them for a WordPress post.
|
||||
|
||||
### `hidEvents`
|
||||
|
||||
Retrieves events from the HID Evo Solo door controllers, and pushes them to a SQL database.
|
||||
|
Reference in New Issue
Block a user