Skip to content
This repository has been archived by the owner on Jul 27, 2022. It is now read-only.

fix: 'Output Tweets to Elasticsearch' section in README #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions dockerfiles/latest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,17 @@ For first usage, you need to build image docker.
docker pull x0rzkov/twint:latest
```

or
or

```shell
docker-compose build
```

#### Create an alias

```shell
alias twint="docker run -ti --rm -v $(pwd)/data:/opt/app/data x0rzkov/twint:latest"
```
```

### Elasticsearch and Kibana

Expand Down Expand Up @@ -115,7 +116,7 @@ A few simple examples to help you understand the basics:
</details>
<details>
<summary><b>Output Tweets to Elasticsearch</b></summary>
<code style="padding:5px;">docker-compose run -v $PWD/twint:/opt/app/data twint -u username -es localhost:9200</code>
<code style="padding:5px;">docker-compose run -v $PWD/twint:/opt/app/data twint -u username -es twint-elastic:9200</code>
</details>
<details>
<summary><b>Scrape Tweets and save as a json file.</b></summary>
Expand Down Expand Up @@ -175,4 +176,4 @@ See [`./docs/CONTRIBUTING.md`](https://github.com/x0rzkov/twint-dockers/blob/mas

## Show your support

Give a ⭐️ if this project helped you!
Give a ⭐️ if this project helped you!