Skip to content

CORRUPTOR2037/ochoba_data_mining

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Host analyser on Heroku

Intresting posts on dtf

Getting Started

  1. Download or clone this repository

  2. Register on Heroku

  3. Download and install Heroku CLI

  4. Download and install git

  5. Open terminal.

    1. Auth Heroku

      heroku login
    2. Create heroku application

      heroku create
    3. Set env with your dtf api token

      heroku config:set TOKEN=your_token_here
    4. Provision postgresql database

      heroku addons:create heroku-postgresql:hobby-dev
    5. Add, commit and push your code into branch master of the remote heroku.

      git push heroku master
  6. Specify the amount of worker that will run your application

    heroku ps:scale worker=1
    heroku ps:scale web=1
  7. Now everything should be working. You can check your logs with this command

    heroku logs --tail
  8. You can open the URL where the script is deployed using the below command (if you are deploying web application)

    heroku open
  9. From now on you can use usual git commands (push, add, commit, etc.) to update your app. Every time you push heroku master your app gets redeployed with updated source code

  10. To stop your application scale down the amount of workers with like this

    heroku ps:scale worker=0

Prerequisites

Authors

Acknowledgments

About

Scripts to fetch and process data from Osnova API (https://cmtt-ru.github.io/osnova-api/redoc.html)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 90.9%
  • HTML 4.6%
  • CSS 4.5%