2021-12-08 20:09:58 +02:00
< h1 align = "center" > Online DSpace CSV Metadata Quality Checker< / h1 >
< p align = "center" >
< a href = "https://github.com/ilri/csv-metadata-quality-web/actions" > < img alt = "Build Status" src = "https://github.com/ilri/csv-metadata-quality-web/workflows/Build/badge.svg" > < / a >
< a href = "https://github.com/psf/black" > < img alt = "Code style: black" src = "https://img.shields.io/badge/code%20style-black-000000.svg" > < / a >
< / p >
2021-12-08 20:35:27 +02:00
< p align = "center" >
< img width = "600" alt = "Screenshot of csv-metadata-quality-web on Heroku" src = "screenshot.png" >
< / p >
2021-12-08 20:19:33 +02:00
## Usage
2025-01-31 11:45:37 +03:00
Create a Python 3.10+ virtual environment and install the dependencies:
2021-12-08 20:19:33 +02:00
$ python3 -m venv venv
$ source venv/bin/activate
$ pip install -r requirements.txt
## Running Locally
$ gunicorn csv_metadata_quality_web.main
And then visit http://localhost:8000/ in your browser.
2025-01-31 12:41:08 +03:00
## Running Behind nginx
Set the `SCRIPT_NAME` environment variable to the path you will reverse proxy from:
$ gunicorn csv_metadata_quality_web.main --env SCRIPT_NAME=/csv-metadata-quality
Then use a configuration snippet like this in nginx:
```
location /csv-metadata-quality {
include proxy_params;
proxy_pass http://127.0.0.1:8000;
}
```
2021-03-14 13:07:24 +02:00
## License
This work is licensed under the [GPLv3 ](https://www.gnu.org/licenses/gpl-3.0.en.html ).
The license allows you to use and modify the work for personal and commercial purposes, but if you distribute the work you must provide users with a means to access the source code for the version you are distributing. Read more about the [GPLv3 at TL;DR Legal ](https://tldrlegal.com/license/gnu-general-public-license-v3-(gpl-3 )).