Metadata-Version: 2.1
Name: cm-portal
Version: 0.1.1
Summary: A Django Web App for a Nursing Home Facility
Home-page: https://github.com/ryesalvador/cm_portal/
Author: Rye Salvador
Author-email: salvadorrye@gmail.com
License: GPLv3
Platform: UNKNOWN
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Framework :: Django :: 2.1
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Description-Content-Type: text/markdown
Requires-Dist: django
Requires-Dist: Pillow

﻿# Camillus MedHaven Portal: A Django Web App for a Nursing Home Facility

## Installation
1. Add cm_portal and its dependency to your `INSTALLED_APPS` like this:
~~~~
    INSTALLED_APPS = [    
        ...
        'cm_portal.apps.CmPortalConfig',
        ...
    ] 
~~~~

2. Append the following environment variables to your `settings.py`.
    ~~~~
    STATIC_ROOT = os.path.join(BASE_DIR, 'static')
    MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
    MEDIA_URL = '/media/'
    LOGIN_REDIRECT_URL = '/'
    ~~~~

3. Include the cm_portal URLconf in your project `urls.py` like this:
~~~~
    from django.conf.urls import include
    urlpatterns += [
        path('', include('cm_portal.urls')),
    ]

    urlpatterns += [
        path('accounts/', include('django.contrib.auth.urls')),
    ]
 ~~~~

4. Run `python manage.py migrate` to create the cm_portal models.

5. Start the development server and visit http://127.0.0.1:8000/
   to begin using app.


