Skip to content

Commit

Permalink
:doc: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ajubin committed May 23, 2019
1 parent ba7ec47 commit 32c0965
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
3 changes: 3 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ALGOLIA_APP_ID=3UQJTGS4TA
ALGOLIA_SEARCH_KEY=26d5a8334696b8a727c05c055a34c763
ALGOLIA_INDEX_NAME=test_WINE_REVIEWS
3 changes: 0 additions & 3 deletions .env.dist

This file was deleted.

2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,3 @@ buck-out/

# Bundle artifact
*.jsbundle

.env
22 changes: 12 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
# Formation algolia
# Algolia and react native

`react-native init APP --template typescript && node APP/setup.js`
`cd APP`
`git init` : premier commit à faire
You can find the tutorial on [this website](https://blog.bam.tech/developper-news/how-to-integrate-the-powerful-algolia-search-engine-in-your-react-native-app)

Ensuite go sur kaggle for [dataset](https://www.kaggle.com/zynicide/wine-reviews/version/4)
The dataset is available on kaggle [here](https://www.kaggle.com/zynicide/wine-reviews/version/4).

Créer un compte sur algolia, créer un nouvel indice à la main, voir comment ca marche
If you want a file of 10.000 lines only, it's available [here](https://gist.github.com/ajubin/d331f3251db4bd239c7a1efd0af54e38)

50MB max upload => couper le fichier
npx json-split --json=../../winemag-data-130k-v2.json --line=50000
upload files separately
## Installation

mv .env.dist .env et mettre vos informations
Assuming that Xcode and react native are already installed, you should run the following commands :

```bash
$ yarn
$ cd ios && bundle exec pod install && cd ..
$ react-native run-ios
```

0 comments on commit 32c0965

Please sign in to comment.