Skip to content

Commit

Permalink
add index.sh to mirror docker.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
nathancday committed Aug 15, 2020
1 parent c9fcc39 commit 87adf7b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
housekeeping/create_dataset/*.json
tmdb_solr*.json
solr_home/tmdb/conf/*
venv
*.pyc
tmdb.json
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,12 @@ unzip tmdb_solr.json.zip

Then send the unzipped `tmdb_solr.json` into Solr.

```
./index.sh
```

or

```
curl 'http://localhost:8983/solr/tmdb/update?commit=true' --data-binary @tmdb_solr.json -H 'Content-type:application/json'
```
Expand Down
3 changes: 3 additions & 0 deletions index.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

curl 'http://localhost:8983/solr/tmdb/update?commit=true' --data-binary @tmdb_solr.json -H 'Content-type:application/json'

0 comments on commit 87adf7b

Please sign in to comment.