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

Парсинг расписания РТУ МИРЭА и Flask API сервис

Notifications You must be signed in to change notification settings

0niel/rtu-mirea-schedule-api

 
 

Repository files navigation

Schedule-RTU

Внимание! Используйте поддерживаемую версию: https://github.com/Ninja-Official/rtu-mirea-schedule-api

Forked from https://github.com/RTUITLab/Schedule-RTU-API

Service for getting jsons with a schedule for a given group of RTU MIREA

Build service from Docker image

Requirements:

  • Docker

Run container:

Clone or download this repo and build container

  • docker build -t schedule-rtu:latest .

Run container

  • docker run -it -p 5000:5000 schedule-rtu:latest

App running on http://0.0.0.0:5000/

You can find api on http://localhost:5000/api/schedule/swagger/

Deploy

Run next command to generate swarm stack file

# bash
docker-compose -f docker-compose.yml -f docker-compose.production.yml config | sed "s/[0-9]\+\.[0-9]\+$/'\0'/g" >| stack.yml

About

Парсинг расписания РТУ МИРЭА и Flask API сервис

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.9%
  • Dockerfile 1.1%