GithubHelp home page GithubHelp logo

elena-vm / warsawpublictransport Goto Github PK

View Code? Open in Web Editor NEW

This project forked from maryl12342/warsawpublictransport

0.0 0.0 0.0 1.76 MB

Shell 0.22% JavaScript 0.26% Python 94.86% Dockerfile 4.66%

warsawpublictransport's Introduction

WarsawPublicTransport

Getting Started

  1. Clone the repository with the following command git clone https://github.com/klepper24/WarsawPublicTransport.git GIT

  2. Install Docker

  3. Run docker-compose up airflow-init to initialize environment

  4. Start all services with docker-compose up -d command

  5. Open webserver which is available at http://localhost:8080

    • login: airflow
    • password: airflow
  6. Configure api_key variable:

  7. Configure connections

    • Connection
    • API connection:
      • api_connection
    • Spark connection:
      • spark_connection
    • File Sensor connection:
      • image
  8. Turn on relevant DAGs

Local development

  1. Create local virtual envirtonment
    python3.8 -m venv venv  
    source venv/bin/activate
  2. Install poetry (Instalation guide)
    curl -sSL https://install.python-poetry.org | python3 -
    poetry install
  3. Install dependencies locally
pip install cryptography==36.0.2
poetry install

Cleaning-up the environment

To stop and delete containers, delete volumes with database data and download images, run docker-compose down --volumes --rmi all

CodeQuality

tox -e flake8
tox -e pylint

warsawpublictransport's People

Contributors

klepper24 avatar mgierm avatar maryl12342 avatar meg25ellele avatar artpat96 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.