Skip to content

0ddbird/OC_Python_P4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenClassrooms - Python certification - Project #4

Installation

  • Clone the project
  • Create a virtual environment with python3 -m venv venv
  • Activate the virtual environment with source ./venv/bin/activate
  • Install the dependencies with pip install -r requirements.txt

Usage

To run the server: cd ./backend ; flask --app main.py run
Once the server is started, you can access this page from your browser: http://localhost:5000/

To run the CLI client: cd ./cli_client ; python -m main

To generate the flake8 report:
flake8 --format=html --htmldir=<name_of_the_output_directory> --exclude <name_of_the_venv_directory>
ex: flake8 --format=html --htmldir=flake8_output --exclude venv

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published