Giter VIP home page Giter VIP logo

tweet-scraper's Introduction

Dependencies

You will need the following dependencies to run the project:

  • Docker
  • Docker Compose

Installation

Make a copy of the .env.example file and set your Twitter account credentials:

# make a .env file
cp .env.example .env

# change the following to your username/password for twitter
vim .env
# vim:
# ...
# AIRFLOW_VAR_USERNAME="_soonann"
# AIRFLOW_VAR_PASSWORD="mysupersecretpassword"
# ...

To start, simply run the compose file with

docker compose up

A folder called airflow will be created if it does not already exist. You will need to change the permissions of the folder to your user:

# e.g.
sudo chown soonann -R airflow

Note that the DAGs are placed in the airflow/dags directory. Should you need to edit it, feel free to change anything there

vim airflow/dags

By default, the following services have been forwarded to the respective ports:

  • MongoDB localhost:27017
  • Airflow localhost:8080

Credentials

The default credentials for MongoDB and Airflow are as follows:

# airflow
user: airflow
password: airflow

# mongodb
user: mongo
password: mongo

tweet-scraper's People

Contributors

soonann avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.