Simple hospital management app.
- Python 3.6.9
- Django 3.0
- PostgreSQL 12.3
The following steps will walk you through installation on a Mac. Linux should be similar. It's also possible to develop on a Windows machine, but I have not documented the steps. If you've developed Django apps on Windows, you should have little problem getting up and running.
Create the database by running the following commands in a mysql shell.
First after installing MySQL, you may use the command: example
psql postgres
then your DB password if needed.
create database "covid19";
install Homebrew, then…
brew install python3
Assuming you've cloned the repository, open Terminal and cd ~/your/path/to/coivd19
.
Create a Python virtual environment:
virtualenv venv --python=python3.6
Activate it:
source venv/bin/activate
|--> .sample_env
|--> .env
pip install -r requirements.txt
python3 manage.py runserver # or
./manage.py createsuperuser
./manage.py runserver