Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
eurhisfirm
dfih-ui
Commits
88bbb07c
Commit
88bbb07c
authored
Oct 16, 2018
by
Emmanuel Raviart
Browse files
Improve README.
parent
091f1d77
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
88bbb07c
...
...
@@ -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
```
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment