https://github.com/math-pixel/bdd_decima
https://github.com/math-pixel/bdd_decima
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/math-pixel/bdd_decima
- Owner: math-pixel
- Created: 2023-10-22T12:26:14.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-30T17:37:25.000Z (over 2 years ago)
- Last Synced: 2025-02-17T01:27:44.750Z (over 1 year ago)
- Language: JavaScript
- Size: 96.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TP Elasticsearch => Réponse dans responce.md
A base code for [Elasticsearch](https://decima.notion.site/Exercice-Elasticsearch-c60285be3e7744e7bdc8515547901e55)
## Requirements
- NodeJS
- Docker with Docker-compose
## Getting started
### Installation
make a copy of `.env.sample` and name it `.env`.
This file is by default configured to run with the docker-compose or local installation.
Then run `yarn` or `npm install` depending on your environment.
### Start Elasticsearch with Docker
Start Elasticsearch server using `docker-compose up -d`. Elasticsearch port is `9200` and kibana is `5601`.
### Usage
Every exercices should be stored in exercices folder.
To run them just run the following command :
```
npm run start ex0
```
If you have `yarn` you can run
```
yarn start ex0
```
It will automatically use the file `./exercices/ex0.js`.
In the Exercices folder, you can find a `ex0.js`, a sample for you to create new exercices.
All exercices can be found on [learn.henri.run](https://decima.notion.site/Exercice-Elasticsearch-c60285be3e7744e7bdc8515547901e55)
---
### Datasets
- Spotify
- my dataset on titanic