File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -35,18 +35,18 @@ Set both environment variables `MEILISEARCH_HOST_URL` and `MEILISEARCH_API_KEY`.
35
35
Then, run:
36
36
37
37
``` bash
38
- $ pipenv install
39
- $ pipenv run ./docs_scraper < path-to-your-config-file>
38
+ pipenv install
39
+ pipenv run ./docs_scraper < path-to-your-config-file>
40
40
```
41
41
42
42
### Linter and Tests <!-- omit in TOC -->
43
43
44
44
``` bash
45
- $ pipenv install --dev
45
+ pipenv install --dev
46
46
# Linter
47
- $ pipenv run pylint scraper
47
+ pipenv run pylint scraper
48
48
# Tests
49
- $ pipenv run pytest ./scraper/src -k " not _browser"
49
+ pipenv run pytest ./scraper/src -k " not _browser"
50
50
```
51
51
52
52
## Git Guidelines
Original file line number Diff line number Diff line change @@ -70,8 +70,8 @@ Your documentation content needs to be scraped and pushed into a MeiliSearch ins
70
70
You can install and run MeiliSearch on your machine using ` curl ` .
71
71
72
72
``` bash
73
- $ curl -L https://install.meilisearch.com | sh
74
- $ ./meilisearch --master-key=myMasterKey
73
+ curl -L https://install.meilisearch.com | sh
74
+ ./meilisearch --master-key=myMasterKey
75
75
```
76
76
77
77
There are [ other ways to install MeiliSearch] ( https://docs.meilisearch.com/learn/tutorials/getting_started.html#download-and-launch ) .
@@ -142,16 +142,16 @@ Following on from the example in the [first step](#run-your-meilisearch-instance
142
142
143
143
Then, run:
144
144
``` bash
145
- $ pipenv install
146
- $ pipenv run ./docs_scraper < path-to-your-config-file>
145
+ pipenv install
146
+ pipenv run ./docs_scraper < path-to-your-config-file>
147
147
```
148
148
149
149
` <path-to-your-config-file> ` should be the path of your configuration file defined at the [ previous step] ( #set-your-config-file ) .
150
150
151
151
#### With Docker <!-- omit in TOC -->
152
152
153
153
``` bash
154
- $ docker run -t --rm \
154
+ docker run -t --rm \
155
155
-e MEILISEARCH_HOST_URL=< your-meilisearch-host-url> \
156
156
-e MEILISEARCH_API_KEY=< your-meilisearch-api-key> \
157
157
-v < absolute-path-to-your-config-file> :/docs-scraper/config.json \
You can’t perform that action at this time.
0 commit comments