Skip to content

Latest commit

 

History

History
68 lines (56 loc) · 1.12 KB

getting_started.md

File metadata and controls

68 lines (56 loc) · 1.12 KB

Getting Started

Prerequisites

  • Python 3.8 or higher
  • pip
  • virtualenv

Setup

  1. Clone the repository
git clone https://github.com/DallasFormulaRacing/PowertrainLib
  1. Navigate to the root directory of the repository
cd PowertrainLib
  1. Create a virtual environment
python -m venv venv
  1. Activate the virtual environment (Windows)
.\venv\Scripts\activate
  1. Install the required packages
pip install -r requirements.txt
  1. Enter the dashboard directory
cd dashboard
  1. Run the dashboard
python app.py

Dashboard File Structure

+-- Assets/
      |      +-- css
      |      +-- images
      |      +-- scripts

+-- Components/
      |      +-- footer
      |      +-- navbar
      |      +-- etc.
+-- Pages/
      |      +-- 404.py
      |      +-- aero.py
      |      +-- steeringsuspension.py
      |      +-- powertrain/
                      |      +-- visualizations/
                                    |     +-- rpm_over_time.py
                      |      +-- layout.py
+-- Utils/
      |      +-- common functions
+-- app.py