Spaces:
Running
Running
---- | |
-title: Argilla Webhooks | |
-emoji: 🐠 | |
-colorFrom: indigo | |
-colorTo: indigo | |
-sdk: docker | |
-pinned: false | |
---- | |
- | |
-Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference | |
## Description | |
This is a basic webhook example to show how to setup webhook listeners using the argilla SDK | |
## Running the app | |
1. Start argilla server and argilla worker | |
```bash | |
pdm server start | |
pdm worker | |
``` | |
2. Add the `localhost.org` alias in the `/etc/hosts` file to comply with the Top Level Domain URL requirement. | |
``` | |
## | |
# Host Database | |
# | |
# localhost is used to configure the loopback interface | |
# when the system is booting. Do not change this entry. | |
## | |
127.0.0.1 localhost localhost.org | |
``` | |
2. Start the app | |
```bash | |
uvicorn main:server | |
``` | |
## Testing the app | |
You can see in se server logs traces when working with dataset, records and responses in the argilla server | |