An open API service indexing awesome lists of open source software.

https://github.com/ayan-b/docudoc


https://github.com/ayan-b/docudoc

Last synced: 11 months ago
JSON representation

Awesome Lists containing this project

README

          

# DocuDoc

> Communication Platform for Medical Treatments

## Running Locally

- First clone the repository: `git clone https://github.com/ayan-b/DocuDoc`
- Install the necessary dependencies: `pip install -r requirements.txt`
- Make the migrations:
```shell
python manage.py makemigrations
python manage.py migrate
```
- Create superuser: `python manage.py createsuperuser`. Provide a username, email and password.
- Now run the server: `python manage.py runserver` and the site should be live at localhost!

> In order to use the log in with drchrono and onpatient functionality, you need to add the following
> environment variables: `SOCIAL_AUTH_DRCHRONO_KEY`, `SOCIAL_AUTH_DRCHORONO_SECRET`, `SOCIAL_AUTH_ONPATIENT_KEY`
> and `SOCIAL_AUTH_ONPATIENT_SECRET`.

Also create the groups `doctor`, `patient`, `pharmacy` and `diagnosis_center` using the admin panel.

Coding Convention: PEP8 with line length 120.

## Troubleshooting

If you are getting `500 Internal Server Error` during adding a case or adding a user, make sure the user (patient or pharmacy or diagnosis center) exists.

## Credits

1. Hand xray: Photo by Owen Beard on Unsplash
2. Heart: Photo by Robina Weermeijer on Unsplash
3. Chest xray: Photo by CDC on Unsplash
4. Logo and favicon: [icons-for-free](https://icons-for-free.com/doctor+drug+health+healthcare+hospital+icon-1320167777175921163/).

## License

[MIT](./LICENSE)