Development
Get Started!¶
Ready to contribute? Here's how to set up django-asgi-lifespan
for local development.
- Fork the
django-asgi-lifespan
repo on GitHub. -
Clone your fork locally
-
Ensure Poetry is installed.
-
Install dependencies and start your virtualenv:
-
Create a branch for local development:
Now you can make your changes locally.
-
When you're done making changes, check that your changes pass the tests:
-
Commit your changes and push your branch to GitHub:
-
Submit a pull request through the GitHub website.
Taskfile
We recommend installing Task (https://taskfile.dev/) for easy launching of development tasks.
Formatting and linting¶
Tests¶
Run a Django test project locally¶
The tests include a Django test project for integration testing. You can also run this test project locally (like any other Django project), sometimes it's useful to observe how a real application behaves.