Commit 1b2b8ffc authored by Pierre Dittgen's avatar Pierre Dittgen
Browse files

Add validata install info

parent 45e962fa
# Validata on your local server
## Requirements
- python3
- pip
- virtualenv
On this page, `$validatadir` is the local folder where you want to install Validata.
## Install
Download source code:
```bash
cd $validatadir
git clone https://git.opendatafrance.net/validata/validata-core.git
git clone https://git.opendatafrance.net/validata/validata-ui.git
git clone https://git.opendatafrance.net/validata/validata-api.git
```
Create a virtualenv (and activates it):
```bash
cd $validatadir
virtualenv --python=python3 venv
source venv/bin/activate
```
Install requirements
```bash
cd $validatadir/validata-core
pip install -e .
cd $validatadir/validata-ui
pip install -e .
cd $validatadir/validata-api
pip install -e .
```
## Run
Virtualenv must be activated before launching servers
### Validata-ui
```bash
cd $validatadir/validata-ui
./serve.sh
```
Validata UI is available on http://127.0.0.1:5601/
### Validata-api
```bash
cd $validatadir/validata-api
./serve.sh
```
Validata API is available on http://127.0.0.1:5600/
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment