This web app allows doctors to create and update prescriptions and intake schedules for their patient/s. These prescriptions and schedules are viewable by the patient. This web app is integrated with our smart medicine box and its accompanying mobile app that alerts the patient when it is time to take their medicine for the time of day.
- Caparoso, Patricia
- De Guzman, Nicole Jade
- Divina, Christelle
- Lopez, Mikayla
- Robino, Gem
Main dependencies: Python 3.6, pip, Django 2.0, virtualenv
-
Install Python 3.6 from the Python website. pip should already come with this Python version. If it has been properly installed, running
python --version
(alternativelypython3 --version
) andpip
on the terminal should display the version of your Python installation, and commands and flags for pip. -
Install virtualenv using pip.
$ pip install virtualenv
Test the installation
$ virtualenv --version
-
Create or go to the directory where you want to clone the project
-
Create your virtualenv. In this case, my virtualenv name is apilladay.
$ virtualenv -p python3 apilladay
-
cd
inside your virtualenv.$ cd apilladay
-
Activate the virtualenv. On Windows, the
activate
command should be inside the Scripts folder. For Linux, I believe it is inside bin.On Windows
$ Scripts\activate
On Linux
$ source bin/activate
You should see
(APILLADAY)
(or something similar) at the beginning of your terminal prompt. -
Clone the repository
$ git clone https://github.com/murkeirluh/a-pill-a-day-web-app.git
-
Install project requirements
$ pip install -r requirements.txt
-
cd
into the folder project and check for the folder with the file "manage.py" -
Make database migrations
$ python manage.py makemigrations
-
Migrate the database
$ python manage.py migrate