Skip to content

CoburnJoe/Pi-Car

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pi-Car

Raspberry Pi based smart car dashboard

Tutorial codebase, to accompany my Python book

Car dashboard example

Developing/Configuring Environment

Make sure you have Python 3.x installed on your machine (use pyenv).

Install the dependencies with pipenv (making sure to include dev and pre-release packages):

pipenv install --dev --pre

Configure your environment:

pipenv shell && export PYTHONPATH="$PWD"

Run the tests:

pytest

Or with logging:

pytest -s

Or tests with coverage:

pytest --cov=./

Format the code with Black:

black $PWD

Running the App

Navigate into the Pi-Car directory:

cd Pi-Car

Configure your environment:

export FLASK_APP=Pi_Car.app

Then start Flask:

flask run

About

Raspberry Pi based car dashboard

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published