Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 1.31 KB

README.md

File metadata and controls

32 lines (20 loc) · 1.31 KB

LabJack

Setup

  1. First create a .venv for to insure the correct modules are installed
  • In the repo's root directory run python -m venv .venv to create the venv folder
  • The activate the venv:
    • windows .venv\Scripts\activate
    • mac/linux source .venv/bin/activate
  • Install the necessary modules pip install -r requirements.txt
  1. You will also need a .env file which will contain the database admin email and password
  • Create a .env file in the root repo directory
  • Populate the .env with vars ADMIN_EMAIL, ADMIN_PASS
  1. Not to use the Labjack, the proper drivers will need to be installed as well
  1. This repo is also intended to be ran with the database repo so ensure the database is running see README.md from https://github.com/Bio-Rocket/Database
  • ENSURE YOU HAVE THE 0.25.0 VERSION OF THE POCKETBASE EXECUTABLE DOWNLOADED

Running main.py

  • Run main.py from the root directory, after activating the venv run python src/main.py
    • Running from this directory ensures all the imports and data files are correct