Skip to content
Snippets Groups Projects
Verified Commit eee604b7 authored by Raphaël Flores's avatar Raphaël Flores
Browse files

Take MR remarks into account.

parent d18ae29b
No related branches found
No related tags found
No related merge requests found
......@@ -12,6 +12,8 @@
- refactor (code refactoring)
- chore (base maintenance such as version bump)
- test (for anything related to tests)
- doc (related to documentation)
- data (any change on data files)
### Commits & branches merge
......@@ -39,7 +41,14 @@
La branche 'chore/explaining_how_to_merge' est paramétrée pour suivre la branche distante 'chore/explaining_how_to_merge' depuis 'origin'.
```
- A `git rebase` is strongly recommanded before merging a MR
- A `git rebase` is strongly recommanded before merging a MR (either vie Gitlab UI, or via command line in case of conflict, see links and code below):
```sh
git checkout feat/my-feature
git fetch origin
git rebase origin/master
```
- [Git rebase official documentation](https://git-scm.com/book/en/v2/Git-Branching-Rebasing)
- [How to keep a clean history](https://about.gitlab.com/2018/06/07/keeping-git-commit-history-clean/)
- Merge requests should be reviewed by at least 1 developper
......
......@@ -16,7 +16,7 @@
- [Building other apps](#building-other-apps)
## Contribute
If you want to install the program on-premise, it's cool, just keep reading at [Setup section and beyond](#setup).
If you want to install the program locally, it's cool, just keep reading at [Setup section and beyond](#setup).
### Data
......@@ -58,11 +58,11 @@ to also remove the stopped containers as well as any networks that were created.
### Frontend
The project uses Angular (7.x) for the frontend, with the Angular CLI.
The project uses Angular (8.x) for the frontend, with the Angular CLI.
You need to install:
- a recent enough NodeJS, v10+ is required for Angular 7.
- a recent enough NodeJS, v10+ is required for Angular 8.
- Yarn as a package manager (see [here to install](https://yarnpkg.com/en/docs/install))
Then in the `frontend` directory, run `yarn` to download the dependencies.
......@@ -72,7 +72,7 @@ The application will be available on:
- <http://localhost:4000/rare-dev> for RARe (runs with: `yarn start:rare` or simply `yarn start`)
- <http://localhost:4100/wheatis-dev> for WheatIS (runs with: `yarn start:wheatis`)
- <http://localhost:4200/data-discovery-dev> for WheatIS (runs with: `yarn start:data-discovery`)
- <http://localhost:4200/data-discovery-dev> for DataDiscovery (runs with: `yarn start:data-discovery`)
See [./frontend/package.json (scripts section)](./frontend/package.json) for other yarn commands.
......@@ -135,7 +135,7 @@ by these tests. The documentation is generated in the folder `backend/build/asci
## Harvest
Harvesting (i.e. importing JSON documents stored into Elasticsearch) consists in creating the necessary index and aliases and Elasticsearch templates.
Harvesting (i.e. importing JSON documents into Elasticsearch) consists in creating the necessary index and aliases and Elasticsearch templates.
To create the index and its aliases execute the script below for local dev environment:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment