Recommended: In .tool-versions
add python v3.9.13 then run asdf install
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
pipenv install "django"
Once django is installed, you will need to fire it up:
pipenv shell
pip install -r requirements.txt
SERIAL_PORT=/dev/ttyACM0
Create a copy of initial_settings_sample.json
and rename it to initial_settings.json
python manage.py migrate
python manage.py createsuperuser
python manage.py collectstatic
yarn run-py
Access via http://127.0.0.1:8000/
- Recommended: In
.tool-versions
nodejs 22.9.0 then runasdf install
(you may need to install nodejs plugin for asdf)
yarn
yarn dev
Access via http://localhost:5173