Third Alpha | Database 1.0.0 Help

Setup | Client App

Make sure you have Python 3.12 or higher installed on your machine. You can check this by running python --version in your terminal. If you don't have Python installed, you can download it here.

Clone the repository to your local machine or unzip the file downloaded from Moodle and navigate to the root directory of the project.

Create a virtual environment by running:

python -m venv venv

Activate virtual environment by running:

venv\Scripts\activate

Install required packages by running:

pip install -r requirements.txt

Run the app by running:

python main.py

Create a virtual environment by running:

python3 -m venv venv

Activate virtual environment by running:

source venv/bin/activate

Install required packages by running:

pip install -r requirements.txt

Run the app by running:

python main.py

Create a virtual environment by running:

python3 -m venv venv

Activate virtual environment by running:

source venv/bin/activate

Install required packages by running:

pip install -r requirements.txt

Run the app by running:

python main.py

Configuration

Don not forget to fill in the `config.ini` file with the correct values for database connection. If you don't have database set up, please refer to the database setup guide. You can find the `config.ini` file in the `root` directory of the project.

Here is the template for the `config.ini` file:

[database] host = user = password = schema = e_prescription
Last modified: 04 February 2024