-
Windows: Run
batch\install.bat
. -
Linux/macOS: From the project root directory, run:
npm install -g pnpm cd glucose-FE pnpm install cd ../glucose-BE pip install -r requirements.txt
If you encounter an
externally-managed-environment
error duringpip install -r requirements.txt
, create a virtual environment (venv) and install the dependencies within it.
-
Windows: Run
batch\server.bat
. -
Linux/macOS: From the
glucose-BE/glucoseBE
directory, run:python3 manage.py migrate python3 manage.py runserver 0.0.0.0:8000
This process will delete the existing database and restart the server.
-
Windows: Run
batch\test-server.bat
. -
Linux/macOS: From the
glucose-BE/glucoseBE
directory, run:rm db.sqlite3 python3 manage.py migrate python3 manage.py runserver 0.0.0.0:8000
-
Windows: Run
batch\web.bat
. -
Linux/macOS: From the
glucose-FE
directory, run:pnpm dev --open
-
Download the APK from releases and install it.
-
Make sure your phone and computer are on the same network.
-
Run the server.
-
Open the app and enter the IPv4 address shown in the server terminal into the start-up AlertDialog to connect.