https://github.com/ayan-b/docudoc
https://github.com/ayan-b/docudoc
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ayan-b/docudoc
- Owner: ayan-b
- License: mit
- Created: 2021-01-08T10:47:33.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-01-19T20:23:52.000Z (over 5 years ago)
- Last Synced: 2025-03-11T16:32:02.598Z (over 1 year ago)
- Language: Python
- Homepage: https://youtu.be/f7WnaEFPQco
- Size: 164 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)