Getting Started¶
This guide will walk you through setting up the Patient Intake/Output Recorder (PIOR) project. Follow the steps below to install dependencies, configure settings, and start the server.
Installation¶
Install Dependencies¶
Patient Intake Output Recorder can be set up with either Poetry (recommended) or pip. Open a terminal in the project directory and install the dependencies:
Note
Poetry is recommended as it simplifies version management and ensures reproducible builds.
Configuration¶
Backend¶
- In the
backend
directory, create a newconfig.json
file. - Replace
{your_token_here}
and{your_api_url_here}
with your actual token and API URL.
Example content:
Frontend (Patient)¶
- In the
patient
directory, create a newconfig.json
file. - Replace
{your_api_url_here}
with your actual API URL.
Example content:
Frontend (Monitor)¶
- In the
monitor
directory, create a newconfig.json
file. - Replace
{your_api_url_here}
and{your_web_url_here}
with your actual API URL and web URL.
Example content:
Running the server¶
Once installed and configured, you can start the server with Uvicorn.
This command launches the server with hot-reloading enabled, which automatically restarts the server upon code changes. With these steps completed, your server should be up and running, ready to handle requests.