Code Monkey home page Code Monkey logo

dp-retraining-python's Introduction

Retraining project

Status

A retraining project to get familiar with various technologies.

How to setup and run

How to get project:

git clone https://github.com/ITA-Dnipro/Dp-Retraining-Python.git

How to setup .env files:

Manual setup

You can manually create and put env variables inside .env file in each folder where .env.example file is present.

Make file setup

Use command to setup .env files with default development variables

make env_setup

How to run project

Make file docker commands

  1. Run command to build and start docker-compose
make up
  1. Run command to stop docker-compose
make down
  1. To remove docker components use commands:
  • To remove all docker containers
make remove_all_containers
  • To remove all docker images
make remove_all_images
  • To remove all docker volumes
make remove_all_volumes
  • (!) To remove all docker containers AND images AND volumes (!)
make remove_everything

Manual docker commands

  1. Run command to build and start docker-compose
docker-compose -f ${PWD}/docker-compose.yml up --build -d
  1. Run command to start already created docker-compose
docker-compose -f ${PWD}/docker-compose.yml -d start
  1. Run command to stop docker-compose
docker-compose -f ${PWD}/docker-compose.yml down

How to run tests and create coverage reports

  1. Use command to run all tests
make run_tests
  1. Use command to create .coverage file
make coverage
  1. Use command to create folder with html report
make coverage_html_report

dp-retraining-python's People

Contributors

borodaua avatar paivazov avatar suslovichb avatar vovad199 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.