Skip to content

Simple example for hosting an SaaS via Gitea webhook.

License

Notifications You must be signed in to change notification settings

BoYanZh/Joint-Webhook

Repository files navigation

Webhook Elf

Requirements

  • Python >= 3.7

Getting Started

Setup venv (Optional)

python3 -m venv venv
source venv/Scripts/activate

Install & Run

First put elf binary in the same dir as this README. Check webhook_elf/run_elf for more details.

pip3 install -r requirements.txt
cp .env.example .env && vi .env # configure environment
python3 webhook_helper/add_webhooks.py # create webhooks
python3 -m webhook_elf # start SaaS

For developers

pip3 install -r requirements-dev.txt
pre-commit install
pytest -svv

Check http://127.0.0.1:8000/docs for api documentation.

About

Simple example for hosting an SaaS via Gitea webhook.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published