https://github.com/flagsmith/flagsmith-task-processor
https://github.com/flagsmith/flagsmith-task-processor
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/flagsmith/flagsmith-task-processor
- Owner: Flagsmith
- Created: 2024-01-19T11:56:50.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-25T10:33:20.000Z (about 1 year ago)
- Last Synced: 2025-02-25T11:28:36.890Z (about 1 year ago)
- Language: Python
- Size: 188 KB
- Stars: 0
- Watchers: 7
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Flagsmith Task Processor
This repository holds the code responsible for the Flagsmith Task Processor functionality.
## Development
This repository contains a django app that is intended to be used only when integrated
with the main [Flagsmith repository](https://github.com/flagsmith/flagsmith) or other
Flagsmith dependencies.
### Local Setup
This repository uses poetry for package management and versioning. Run the following
commands to set up a local development environment and run the unit tests.
```bash
pip install poetry
poetry install
export DJANGO_SETTINGS_MODULE=tests.settings DATABASE_URL=postgres://postgres:password@localhost:5432/flagsmith_task_processor
poetry run pytest tests/unit
```
### Testing
#### Unit
The unit tests should be run using pytest as usual, these tests should mock out any
external dependencies or create test classes as needed.
### Publishing & Releases
This package is included as a dependency in the main Flagsmith repository. New releases
should be created using the releases functionality in Github and updated in the main
Flagsmith repository.