Skip to content

mashupgarage/clean

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Server Instructions

Install Python v3.9.13

Recommended: In .tool-versions add python v3.9.13 then run asdf install

Install Pip

make sure you are in the correct projects directory and that the directory is empty. preferrably outside the project repository.

python -m pip install
pip install pipenv
pipenv --python 3.9.13

Install Django

pipenv install "django"

Once django is installed, you will need to fire it up:

pipenv shell

Install Required Packages

pip install -r requirements.txt

.env

SERIAL_PORT=/dev/ttyACM0

Create Initial Settings File

Create a copy of initial_settings_sample.json and rename it to initial_settings.json

Run Migrations

python manage.py migrate

Create a superuser

python manage.py createsuperuser

Create static folder

python manage.py collectstatic

Run the Python Server

yarn run-py

Access via http://127.0.0.1:8000/


React App Instructions

Install Node

  • Recommended: In .tool-versions nodejs 22.9.0 then run asdf install (you may need to install nodejs plugin for asdf)

Run Yarn

yarn

Run React App

yarn dev

Access via http://localhost:5173

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published