diff --git a/dockerfiles/latest/README.md b/dockerfiles/latest/README.md index 91ecd05b..620ddf02 100644 --- a/dockerfiles/latest/README.md +++ b/dockerfiles/latest/README.md @@ -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 @@ -115,7 +116,7 @@ A few simple examples to help you understand the basics:
Output Tweets to Elasticsearch - docker-compose run -v $PWD/twint:/opt/app/data twint -u username -es localhost:9200 + docker-compose run -v $PWD/twint:/opt/app/data twint -u username -es twint-elastic:9200
Scrape Tweets and save as a json file. @@ -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! \ No newline at end of file +Give a ⭐️ if this project helped you!