1 KiB
1 KiB
Tricoteuses Legal Explorer
Web API & site to browse legal open data from French Direction de l'information légale et administrative (Dila)
Tricoteuses Legal Explorer is free and open source software.
Installation
Create database
Using Debian GNU/Linux, install PostgreSQL, then:
sudo su - postgres
createuser legi -P # and enter the password
createdb -O legi legi
psql legi
CREATE EXTENSION IF NOT EXISTS pg_trgm;
\q
exit
Install dependencies
npm install
Server Configuration
Create a .env
file to set configuration variables (you can use example.env
as a template). Then:
npm run package
npm run configure
Server Launch
In development mode:
npm run dev
In production mode:
npm run build
npm run preview