Skip to content
/ buben Public

python dev test task

Notifications You must be signed in to change notification settings

madzohan/buben

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Buben

python dev test task

local deployment using Docker & docker-compose:

  1. Required (tested) software versions:
    Docker version 19.03.13, build 4484c46d9d
    docker-compose version 1.27.4, build 40524192
  2. Create .env file in root project directory within populated ...
    1. api settings:
      FLASK_RUN_HOST=0.0.0.0
      FLASK_APP=main.py
      FLASK_ENV=development
      FLASK_DEBUG=true
      SQLALCHEMY_ECHO=true
      POSTGRES_HOST=db
      POSTGRES_USER=postgres
      POSTGRES_PASSWORD=1111
      POSTGRES_DB=postgres
      
    2. crawlers settings:
      REVIEW_DOC_ID=1iSR0bR0TO5C3CfNv-k1bxrKLD5SuYt_2HXhI2yq15Kg
      PRODUCT_DOC_ID=1roypo_8amDEIYc-RFCQrb3WyubMErd3bxNCJroX-HVE
  3. Run:
    docker-compose --env-file .env up

About

python dev test task

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published