Metadata-Version: 2.1
Name: validata-ui
Version: 0.2.3
Summary: Validata Web UI
Home-page: https://git.opendatafrance.net/validata/validata-ui
Author: Validata team
Author-email: admin-validata@jailbreak.paris
License: AGPLv3
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Operating System :: OS Independent
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
Classifier: Programming Language :: Python :: 3
Description-Content-Type: text/markdown
Requires-Dist: backports-datetime-fromisoformat
Requires-Dist: cachecontrol
Requires-Dist: commonmark
Requires-Dist: ezodf
Requires-Dist: flask
Requires-Dist: lxml
Requires-Dist: python-dotenv
Requires-Dist: requests
Requires-Dist: toml
Requires-Dist: tabulator
Requires-Dist: opendataschema (<0.6,>=0.5.2)
Requires-Dist: validata-core (<0.4,>=0.3.5)
Provides-Extra: matomo
Requires-Dist: Flask-Matomo ; extra == 'matomo'

# Validata UI

[![PyPI](https://img.shields.io/pypi/v/validata-ui.svg)](https://pypi.python.org/pypi/validata-ui)

Validata user interface

## Usage

You can use the online instance of Validata:
- user interface: https://go.validata.fr/
- API: https://go.validata.fr/api/v1/
- API docs: https://go.validata.fr/api/v1/apidocs

Several software services compose the Validata stack. The recommended way to run it on your computer is to use Docker. Otherwise you can install each component of this stack manually, for example if you want to contribute by developing a new feature or fixing a bug.

## Run with Docker

Read instructions at https://git.opendatafrance.net/validata/validata-docker

## Develop

### Install

We recommend using [virtualenv](https://virtualenv.pypa.io/en/stable/).

Install the project dependencies:

```bash
pip install -e .
```

Validata UI depends on [Validata API](https://git.opendatafrance.net/validata/validata-api/), so you must install it also.

PDF report generation uses [Headless Chromium](https://chromium.googlesource.com/chromium/src/+/lkgr/headless/README.md):

```bash
apt install -y chromium
```

### Configure

```bash
cp .env.example .env
```

Customize the configuration variables in `.env` file.

Do not commit `.env`.

### Serve

Start the web server...

```bash
./serve.sh
```

... then open http://localhost:5601/

