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

zifter/byprice24

Repository files navigation

byprice24

Contribute

Setup

You need any kind of Linux system - the latest ubuntu will be great.

All deployment based on containers. Docker is simple to use at that moment.

It's guarantee that application is workig with that version.

The best IDE for python developing.


How to launch project in pycharm:

I. Configure Python interpreter for the project:

  1. In the bottom of the pycharm press interpreter settings
  2. Press Add interpreter in pop-up tab
  3. In a new tab press Pipenv Environment
  4. Configure as default and press Ok

II. Connect Python interpreter to the pycharm

  1. In the top of the pycharm press Add configuration
  2. In the top left press + and press python
  3. In script path choose the path to manage.py
  4. In parameters write runserver
  5. Press OK

III. Press Run - green arrow

How to launch tests in pycharm:

II. Connect Python interpreter to the pycharm pytests engine

  1. In the top open tab which we press before (Add configuration), now this tab is called differently
  2. In the top left press + , choose pytest and press ok
  3. Choose script path to the test file you want to launc
  4. Press OK

III. Press Run - green arrow


The best IDE for k8s developing.

Toolset

All toolset will be installed via make command:

make setup-toolset

Verify that everithing is installed correctly:

make setup-verify

Run

All commands for controlling cluster is describing in Makefile.

  • Run cluster with prepared databases and etc
$ make run-dev-cluster
  • Install byprice24 application to cluster
$ make backend-install
  • Run cluster with installed byprice24 application
$ make run-full-cluster

Deploy

ScraperAPI

Proxy for scraping

https://dashboard.scraperapi.com/dashboard