__init__.py
__init__.py
s3.py
database.py
logger.py
api.py
__init__.py
__init__.py
constants.py
sql.py
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
Install python3
sudo apt-get install -y python3
Install pip3
sudo apt-get install -y python3-pip
Install virtualenvwrapper
sudo pip3 install vitualenvwrapper
On your .zshrc
or .bashrc
export WORKON_HOME=$HOME/.virtualenvs
export PROJECT_HOME=$HOME/projects
source /usr/local/bin/virtualenvwrapper.sh
source ~/.bashrc
#or
source ~/.zshrc
Create a virtualenv
export PROJECT_NAME='hospital_management_system'
mkvirtualenv $PROJECT_NAME
workon $PROJECT_NAME
Clone the Repo
git clone https://github.com/AlaminMahamud/hospital-management-system.git $PROJECT_NAME
cd $PROJECT_NAME
Install the requirements
pip install -r requirements.txt
Install mysql
sudo apt-get install python3-dev libmysqlclient-dev
Change DB Config in settings.py
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': '<database-name>',
'USER': '<database-user>',
'PASSWORD': '<database-password>',
'HOST': 'localhost',
'PORT': '3306',
}
}
python -m unittest discover -v
python manage.py collectstatic --noinput
python manage.py makemigrations
python manage.py migrate
python manage.py runserver 0.0.0.0:8080
Add additional notes about how to deploy this on a live system
unittest
framework is used.Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
We use SemVer for versioning. For the versions available, see the tags on this repository.
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE file for details