Git Product home page Git Product logo

hbd-labs's Introduction

Хранилища и базы данных. Лабораторные работы

Работу выполнили студенты:
P4116 - Егошин Алексей, Кулинич Ярослав
P4115 - Карасёва Мария

Инструкции по запуску

  1. Создаем директорию и пустой файл базы данных самого airflow:
mkdir ./etl/data
touch ./etl/data/airflow.db
chmod 777 ./etl/data/airflow.db
  1. Запускаем контейнеры:
# Linux
docker compose up
# Mac OS
docker compose -f docker-compose.yml -f docker-compose-macos.yml up
  1. Заходим в веб-морду AirFlow - http://172.16.0.4:8080 (в случае Mac OS - http://localhost:8080) и авторизуемся.
креды:
login: admin
password: <найти в логах и запомнить>
  1. Admin -> Connections инициализируем коннекты к источникам данных
ID: postgres_dwh
host: postgres
database: dwh
username: dwh
password: dwh
ID: postgres_source
host: postgres
database: source
username: source
password: source
ID: mongo_source
host: mongodb
database: mongo
username: mongo
password: mongo
  1. Admin -> Variables инициализируем коннекты к api
ID: api_delivery
{
"url": "http://api:8080/api/v1/delivery/orders",
"method": "POST",
"entity_type": "DELIVERY"
}
ID: api_deliveryman
{
"url": "http://api:8080/api/v1/delivery/delivers",
"method": "GET",
"entity_type": "DELIVERYMAN"
}

hbd-labs's People

Contributors

burevestnik-png avatar

Stargazers

Maria Karaseva 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.