8000 GitHub - dvabidonamoloka/standupstoreparser: Parser for standupstore.ru
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

dvabidonamoloka/standupstoreparser

Repository files navigation

Parser for standupstore.ru

Parser, that periodically checks new events on standupstore.ru and posts notifications to telegram channel.

Quick start

  1. Install git, docker and docker-compose
  2. Clone repo
    git clone git@github.com:dvabidonamoloka/standupstoreparser.git
  3. Add settings.py to susp/ folder by the following template:
    TOKEN = 'your_telegram_bot_token'
    CHAT_ID = '@your_telegram_channel_name'
    
    EXCEPTIONS_EMAIL_TO = 'email'  # email to which you will receive error logs
    EXCEPTIONS_EMAIL_FROM = 'email'  # email from which error logs will be sent
    SMPT_SERVER = 'smpt_server_adress'
    SMPT_PORT = 'smpt_server_port'
    SMPT_PASSWORD = 'password of email from which error logs will be sent'
    Note, that telegram bot has to be the admin of the channel
  4. Run containers with docker-compose
    docker-compose up -d

Run the app in docker

Running prod version

docker-compose up -d

Running dev version, which has port forwarding

docker-compose -f docker-compose.yml -f docker-compose.dev.yml up -d

Rebuild app image before running container:

docker-compose -f docker-compose.yml -f docker-compose.dev.yml up -d --build --force-recreate

Running only mongo container

docker-compose -f docker-compose.yml -f docker-compose.dev.yml up -d mongo

About

Parser for standupstore.ru

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
0