Library, Web API & site to browse Légifrance legal open data from French Direction de l'information légale et administrative (Dila)
Find a file
2022-11-13 11:12:10 +01:00
.vscode Improve configuration & README. Add license. 2022-08-09 11:15:42 +02:00
src Add function to retrieve Légifrance URL & upgrade packages 2022-11-11 11:29:01 +01:00
static Use hero from @tricoteuses/explorer-tools. 2022-08-21 18:39:27 +02:00
tests Change prettier configuration. 2022-08-09 10:44:30 +02:00
.eslintignore Add function to retrieve Légifrance URL & upgrade packages 2022-11-11 11:29:01 +01:00
.eslintrc.cjs Improve configuration & README. Add license. 2022-08-09 11:15:42 +02:00
.gitignore Add function to retrieve Légifrance URL & upgrade packages 2022-11-11 11:29:01 +01:00
.npmrc npm create svelte@latest tricoteuses-legal 2022-08-09 10:21:38 +02:00
.prettierignore Add function to retrieve Légifrance URL & upgrade packages 2022-11-11 11:29:01 +01:00
example.env Use hero from @tricoteuses/explorer-tools. 2022-08-21 18:39:27 +02:00
LICENSE.md Improve configuration & README. Add license. 2022-08-09 11:15:42 +02:00
package-lock.json Add morgan 2022-11-13 11:12:10 +01:00
package.json Add morgan 2022-11-13 11:12:10 +01:00
playwright.config.ts Change prettier configuration. 2022-08-09 10:44:30 +02:00
postcss.config.cjs Add function to retrieve Légifrance URL & upgrade packages 2022-11-11 11:29:01 +01:00
prettier.config.cjs Change prettier configuration. 2022-08-09 10:44:30 +02:00
README.md First packaging 2022-08-29 10:24:08 +02:00
svelte.config.js First packaging 2022-08-29 10:24:08 +02:00
tailwind.config.cjs Migrate to latest Svelte Kit. 2022-08-20 19:36:21 +02:00
tsconfig.json Add function to retrieve Légifrance URL & upgrade packages 2022-11-11 11:29:01 +01:00
vite.config.ts Add function to retrieve Légifrance URL & upgrade packages 2022-11-11 11:29:01 +01:00

Tricoteuses Legal Explorer

Tricoteuses Legal Explorer is free and open source software.

Legal data sources:

Main definitions used by these data: https://www.legifrance.gouv.fr/contenu/Media/files/lexique-api-lgf.docx

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