- Notifications
You must be signed in to change notification settings - Fork0
pabs3/repology-webapp
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Repology is a service which monitorsa lot of package repositoriesand other sources and aggregates data on software package versions,reporting new releases and packaging problems.
This repository contains Repology web application code.See it online.See also theupdater code, a backend servicewhich updates the repository information.
- Python 3.9+
- Python moduleflask
- Python modulelibversion (also requireslibversion C library)
- Python modulepillow
- Python modulepsycopg2
- PostgreSQL 13.0+
- PostgreSQL extensionlibversion
For HTML validation in tests:
- Python modulepytidylib andtidy-html5 library
For python code linting:
- Python moduleflake8
- Python moduleflake8-builtins
- Python moduleflake8-import-order
- Python moduleflake8-quotes
- Python modulemypy
To run the webapp, you first need a database created and filledby repology-updater asexplainedin its documentation.
Repology is a flask application, so as long as you've set updatabase and configuration, you may just run the applicationlocally:
./repology-app.py
and point your browser tohttp://127.0.0.1:5000/ to view thesite. This should be enough for personal use, experiments andtesting.
Alternatively, you may deploy the application in numerous ways,including mod_wsgi, uwsgi, fastcgi and plain CGI application. Seeflask documentation on deploymentfor more info.
For instance, you can deploy withuwsgi
with the following commandline arguments:
uwsgi --mount /=repology-app:app --pythonpath=<path-to-repology-checkout>
GPLv3 or later, seeCOPYING.