Commit 88bbb07c authored by Emmanuel Raviart's avatar Emmanuel Raviart
Browse files

Improve README.

parent 091f1d77
......@@ -2,15 +2,46 @@
_User interface for the "Données financières historiques (DFIH)" project_
## Installation
## Install
```bash
git clone https://gitlab.huma-num.fr/eurhisfirm/dfih-ui.git
cd dfih-ui/
```
Edit `src/server-config.js` to change database informations. Then
```bash
npm install
```
### Launch server
## Retrieve or generate JSON files of issuers, stocks, etc
### Either retrieve JSON files from their git repository
```bash
git clone https://gitlab.huma-num.fr/eurhisfirm/dfih-open-data.git data
```
### Or generate JSON files from SQL database
```bash
node_modules/.bin/babel-node scripts/generate-issuers.js
node_modules/.bin/babel-node scripts/generate-stock-exchanges.js
node_modules/.bin/babel-node scripts/generate-stocks.js
```
## Launch server
In development mode:
```bash
npm run build
npm run dev
```
In production mode:
```bash
npm run build
npm start
```
Supports Markdown
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