| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [View Raw Code] [Original HTTPS Page] |
| title | Development |
|---|---|
| description | How to hack on the FSFE's forms application |
The (strongly) recommended way of developing, testing and debugging fsfe-forms is to set up an isolated Python environment using docker containers. This will make development independent from the operating system provided version of the required Python libraries.
After cloning the git repository, just run make dev in the git checkout directory and the container environment will be completely set up.
fsfe-forms follows PEP 8. Additionally, imports are sorted alphabetically; you can run make isort.all to let isort check if your imports are sorted corectly.
fsfe-forms can be run from the git checkout directory for testing and debugging.
Please note that fsfe-forms requires access to a number of external systems to run properly, most notably a mail server, a redis server, and for some functions the FSFE Community Database Frontend.
These are set up for you in separate containers.
The following commands are available for automatic quality checks:
All these tests are also run during the deployment process, and updating the code on the production server is refused if any of the tests fails, so it is strongly recommended that you run make qc.all before committing any change.
| Back | FazBrowse Home | New Git URL |