diff --git a/_sources/django-commands/configuration.rst.txt b/_sources/django-commands/configuration.rst.txt index 03d53e2f8f..d873646fbf 100644 --- a/_sources/django-commands/configuration.rst.txt +++ b/_sources/django-commands/configuration.rst.txt @@ -26,6 +26,10 @@ All Django commands must be executed by invoking :code:`python manage.py`, so fo | | | | | | | Example Invocation: :code:`python manage.py seed_data` | +---------------------+---------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ +| load_skill_data | None | This command loads default skills | +| | | | +| | | Example Invocation: :code:`python manage.py load_skill_data` | ++---------------------+---------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | summarize | None | The summary jobs are run by Celery every 10 mins, but we can force Django to summarize the current data and update the summary table with this command | | | | | | | | Example Invocation: :code:`python manage.py summarize` | diff --git a/django-commands/configuration.html b/django-commands/configuration.html index d2c43aa0a0..e956c8beef 100644 --- a/django-commands/configuration.html +++ b/django-commands/configuration.html @@ -240,7 +240,13 @@

Django Commandspython manage.py seed_data

-

summarize

+

load_skill_data

+

None

+

This command loads default skills

+

Example Invocation: python manage.py load_skill_data

+ + +

summarize

None

The summary jobs are run by Celery every 10 mins, but we can force Django to summarize the current data and update the summary table with this command

Example Invocation: python manage.py summarize

diff --git a/searchindex.js b/searchindex.js index 15c5cda769..515d4b27fb 100644 --- a/searchindex.js +++ b/searchindex.js @@ -1 +1 @@ -Search.setIndex({"docnames": ["django-commands/configuration", "github-repo/configuration", "glossary/configuration", "index", "local-setup/configuration", "middleware/configuration", "others/configuration", "pycharm/configuration", "working-components/configuration"], "filenames": ["django-commands/configuration.rst", "github-repo/configuration.rst", "glossary/configuration.rst", "index.rst", "local-setup/configuration.rst", "middleware/configuration.rst", "others/configuration.rst", "pycharm/configuration.rst", "working-components/configuration.rst"], "titles": ["Django Commands", "GitHub Repository", "Glossary", "Welcome to Care\u2019s documentation!", "Setting up development environment", "Connecting with Middleware", "Other Details", "Debugging with Pycharm", "Working Components"], "terms": {"all": [0, 1, 2, 4, 7, 8], "must": [0, 1, 5], "execut": [0, 7, 8], "invok": 0, "python": [0, 3, 4, 6], "manag": [0, 2, 4, 6, 7], "py": [0, 4, 6, 7], "so": [0, 1, 4, 8], "exampl": [0, 2, 8], "i": [0, 1, 2, 4, 7, 8], "do_someth": 0, "correct": 0, "wai": [0, 4], "call": 0, "make": [0, 4, 7, 8], "sure": [0, 4, 7], "run": [0, 2, 3, 6, 7, 8], "root": 0, "directori": [0, 4, 7], "project": [0, 1, 7, 8], "ani": [0, 1, 4, 8], "virtual": [0, 6], "environ": [0, 3, 6], "present": 0, "activ": 0, "befor": [0, 4], "argument": 0, "descript": [0, 2], "createsuperus": [0, 4], "none": 0, "thi": [0, 2, 4, 6, 7, 8], "us": [0, 2, 3, 6, 7, 8], "creat": [0, 2, 4, 8], "superus": [0, 4], "care": [0, 1, 2, 4, 7, 8], "applic": [0, 1, 2, 6, 8], "ar": [0, 1, 2, 4, 6, 7, 8], "abl": 0, "log": 0, "through": [0, 8], "admin": 0, "panel": [0, 7], "access": [0, 8], "scope": 0, "do": [0, 4, 7], "appli": 0, "them": [0, 7], "pleas": 0, "take": [0, 4, 7], "caution": 0, "when": [0, 2, 8], "strict": 0, "password": [0, 4, 8], "polici": 0, "account": [0, 4], "ideal": [0, 8], "should": [0, 2, 5, 7, 8], "onli": [0, 4, 8], "one": [0, 2, 8], "invoc": 0, "load_dummy_data": [0, 4], "load": [0, 4, 8], "dummi": [0, 4], "data": [0, 2, 4, 8], "test": [0, 2, 3, 7], "develop": [0, 1, 2, 3], "purpos": [0, 8], "user": [0, 3], "devdistrictadmin": 0, "coronasaf": [0, 2, 8], "123": 0, "popul": 0, "load_data": 0, "kerala": 0, "seed_data": 0, "intention": 0, "fail": [0, 4], "stage": 0, "product": [0, 1], "state_nam": 0, "district": 0, "lsg": 0, "ward": [0, 2], "level": [0, 2], "given": [0, 8], "state": [0, 2, 7], "The": [0, 1, 4, 5, 8], "import": [0, 7], "scrape": 0, "from": [0, 1, 2, 5, 7], "variou": [0, 6, 8], "sourc": [0, 1, 2], "can": [0, 2, 4, 7, 8], "chang": [0, 4, 8], "point": 0, "If": [0, 4, 7, 8], "name": [0, 2, 4, 7, 8], "avail": [0, 1], "load_medicines_data": 0, "medibas": 0, "medicin": 0, "databas": [0, 3, 4], "json": [0, 6], "static": [0, 4, 8], "need": [0, 2, 6, 8], "includ": [0, 2], "inventori": [0, 3], "seed": 0, "oxygen": [0, 2], "medic": [0, 2], "etc": [0, 2, 4], "summar": [0, 8], "summari": [0, 8], "job": [0, 8], "celeri": [0, 3, 4], "everi": [0, 4], "10": [0, 4], "min": 0, "we": [0, 2], "forc": 0, "current": 0, "updat": [0, 1, 7, 8], "tabl": 0, "repo": [1, 4], "here": [1, 4], "contain": [1, 4, 5], "code": [1, 4, 7, 8], "apart": 1, "secret": 1, "configur": [1, 3, 5, 8], "runtim": 1, "exact": 1, "copi": [1, 4], "deploi": [1, 8], "master": 1, "branch": 1, "auto": 1, "instanc": [1, 8], "regard": [1, 4], "beta": 1, "version": [1, 4], "stabl": 1, "releas": 1, "tag": 1, "pr": 1, "": [1, 2], "issu": [1, 3, 4], "monitor": 1, "review": 1, "team": [1, 8], "merg": 1, "after": [1, 4, 7], "secur": 1, "other": [1, 2, 3, 4, 7], "fork": 1, "deploy": [1, 7, 8], "follow": [1, 4], "same": 1, "structur": [1, 8], "remain": 1, "sync": 1, "keep": [1, 2], "get": [1, 4, 7], "comprehens": 2, "tool": [2, 4, 8], "built": [2, 8], "specif": 2, "covid": 2, "pandem": 2, "It": [2, 8], "web": [2, 6], "base": [2, 7], "host": 2, "http": [2, 4, 7], "network": 2, "document": [2, 6], "give": [2, 4], "an": [2, 4, 8], "overview": 2, "system": 2, "who": 2, "willing": 2, "contribut": 2, "maintain": 2, "process": [2, 8], "up": [2, 3, 8], "right": 2, "mean": 2, "each": [2, 8], "record": 2, "associ": 2, "repres": 2, "hospit": [2, 4], "There": [2, 4, 8], "15": [2, 4], "type": [2, 3], "its": [2, 7, 8], "id": [2, 4, 5, 6], "number": [2, 4, 8], "convent": 2, "ha": 2, "basic": [2, 3], "inform": [2, 8], "bed": 2, "cylind": 2, "doctor": [2, 4], "refer": 2, "karunya": 2, "arogya": 2, "suraksha": 2, "padhathi": 2, "kasp": 2, "health": 2, "scheme": 2, "item": 2, "good": 2, "merchandis": 2, "materi": 2, "held": 2, "help": [2, 4, 8], "u": [2, 4], "track": 2, "stock": 2, "could": 2, "ppe": 2, "kit": 2, "rice": 2, "mask": [2, 8], "also": [2, 4, 8], "set": [2, 3, 7], "minimum": 2, "quantiti": 2, "notifi": 2, "out": [2, 4], "hold": 2, "detail": [2, 3, 4, 8], "count": [2, 8], "would": 2, "occupi": 2, "total": 2, "have": [2, 4, 7, 8], "multipl": [2, 8], "These": 2, "which": [2, 4, 7, 8], "flexibl": 2, "custom": 2, "accord": 2, "ad": [2, 7], "differ": [2, 7], "depart": 2, "thing": [2, 7], "instrument": 2, "equip": 2, "properti": 2, "link": 2, "move": 2, "anoth": 2, "within": 2, "come": [2, 7], "rt": 2, "pcr": 2, "antigen": 2, "privat": [2, 8], "lab": 2, "thei": [2, 7], "found": 2, "suspect": 2, "under": 2, "manual": [2, 3], "directli": [2, 7], "pull": 2, "three": [2, 8], "main": [2, 4], "section": 2, "person": 2, "histori": 2, "uniqu": 2, "identifi": 2, "phone": [2, 4], "date": 2, "birth": 2, "overal": 2, "concept": 2, "diagram": 2, "download": 2, "excalidraw": 2, "file": [2, 4, 7], "docker": [3, 7], "compos": [3, 7], "setup": 3, "postgr": 3, "first": [3, 7], "time": [3, 8], "pre": 3, "commit": 3, "command": [3, 6, 7], "your": [3, 7], "check": 3, "debug": 3, "pycharm": 3, "remot": 3, "interpret": 3, "known": 3, "work": 3, "compon": 3, "backend": 3, "django": [3, 7], "task": [3, 4], "schedul": 3, "beat": 3, "worker": 3, "postgresql": [3, 4], "cach": [3, 4], "redi": [3, 4], "bucket": 3, "s3": 3, "sm": 3, "gatewai": 3, "aw": [3, 4], "sn": 3, "email": [3, 4], "se": 3, "report": 3, "infrastructur": 3, "github": 3, "repositori": [3, 7], "vapid": 3, "kei": 3, "jwk": 3, "glossari": 3, "hierarchi": 3, "model": [3, 8], "facil": [3, 5, 8], "capac": 3, "locat": 3, "asset": 3, "extern": [3, 8], "result": [3, 8], "patient": [3, 4, 8], "resourc": 3, "connect": [3, 7, 8], "middlewar": 3, "index": [3, 7], "modul": 3, "search": 3, "page": [3, 6, 8], "two": 4, "server": [4, 5, 6, 8], "most": [4, 7], "recommend": 4, "you": [4, 7, 8], "don": 4, "t": 4, "5": 4, "memori": [4, 8], "queue": 4, "localstack": 4, "mimic": 4, "servic": [4, 7], "local": [4, 7], "instal": [4, 7], "appropri": 4, "depend": 4, "chanc": 4, "conflict": 4, "might": [4, 7], "while": 4, "upon": 4, "internet": 4, "speed": 4, "machin": [4, 7], "spec": 4, "step": 4, "start": 4, "To": [4, 6, 7], "open": [4, 6], "browser": 4, "go": [4, 7], "localhost": 4, "9000": 4, "stop": 4, "down": 4, "sudo": 4, "psql": 4, "see": [4, 7], "error": 4, "fatal": 4, "peer": 4, "authent": [4, 5], "In": [4, 7], "shell": 4, "exit": 4, "q": 4, "edit": 4, "pg_hba": 4, "conf": 4, "md5": 4, "restart": 4, "login": [4, 8], "grant": 4, "privileg": 4, "ON": 4, "TO": 4, "mai": 4, "replac": 4, "prefer": 4, "Then": 4, "list": 4, "git": [4, 7], "hook": 4, "featur": [4, 8], "fix": 4, "small": 4, "packag": 4, "organis": 4, "more": 4, "pre_commit_sit": 4, "pipenv": 4, "categori": 4, "dev": 4, "want": 4, "faq": 4, "reach": 4, "coronasafe_django": 4, "channel": 4, "slack": 4, "resolv": 4, "prompt": 4, "usernam": 4, "enter": 4, "goe": 4, "done": 4, "note": 4, "thisw": 4, "virtualenv": 4, "export": [4, 6], "database_url": 4, "127": 4, "0": 4, "1": 4, "5432": 4, "migrat": [4, 7], "everyth": 4, "ok": [4, 7], "again": 4, "now": 4, "ignor": 4, "warn": 4, "usertyp": 4, "valu": 4, "staff": 4, "administr": 4, "20": 4, "volunt": 4, "gender": 4, "male": 4, "2": [4, 8], "femal": 4, "3": 4, "e": [4, 8], "mail": 4, "phonenumb": 4, "ten": 4, "digit": 4, "css": [4, 8], "j": [4, 8], "imag": [4, 8], "media": 4, "websit": [4, 6], "style": 4, "collectstat": 4, "mypi": 4, "config": 4, "n": 4, "improperlyconfigur": 4, "spatialit": 4, "librari": 4, "extens": 4, "apt": 4, "libsqlite3": 4, "mod": 4, "request": [5, 8], "auth": 5, "token": [5, 8], "middleware_bear": 5, "realm": 5, "facility_id": 5, "x": [5, 7], "header": 5, "asset_id": 5, "jwt": 5, "auxiliari": 6, "topic": 6, "voluntari": 6, "ident": 6, "mainli": 6, "send": [6, 8], "receiv": 6, "push": 6, "notif": [6, 8], "gener": 6, "keypair": 6, "npx": 6, "perform": 6, "verif": 6, "generate_jwk": 6, "obtain": 6, "base64": 6, "string": 6, "jwks_base64": 6, "insid": 7, "awar": 7, "build": 7, "linux": 7, "socket": 7, "unix": 7, "var": 7, "sock": 7, "window": 7, "mac": 7, "simpli": 7, "credenti": 7, "alreadi": 7, "prepar": 7, "But": 7, "begin": 7, "someth": 7, "wrong": 7, "red": 7, "icon": 7, "cannot": [7, 8], "without": 7, "interptet": 7, "next": 7, "add": 7, "new": 7, "click": 7, "cog": 7, "switch": 7, "select": 7, "yml": 7, "close": 7, "wait": 7, "few": 7, "second": 7, "readi": 7, "provid": [7, 8], "mani": 7, "hang": 7, "debugg": 7, "fault": 7, "firewal": 7, "look": 7, "ticket": 7, "youtrack": 7, "jetbrain": 7, "com": 7, "18913": 7, "modifi": 7, "idea": 7, "were": 7, "gitignor": 7, "except": 7, "made": 7, "some": 7, "alter": 7, "theori": 7, "remov": [7, 8], "peopl": 7, "lose": 7, "abil": 7, "initi": 7, "did": 7, "rid": 7, "annoi": 7, "assum": 7, "unchang": 7, "iml": 7, "explain": 8, "gunicorn": 8, "default": 8, "serv": 8, "No": 8, "core": 8, "per": 8, "sinc": 8, "involv": 8, "veri": 8, "littl": 8, "cpu": 8, "alloc": 8, "increas": 8, "balanc": 8, "scale": 8, "certain": 8, "interv": 8, "similar": 8, "cron": 8, "respons": 8, "period": 8, "doe": 8, "actual": 8, "becaus": 8, "crucial": 8, "alwai": 8, "asynchron": 8, "event": 8, "produc": 8, "discharg": 8, "background": 8, "requir": 8, "store": 8, "rabbitmq": 8, "instead": 8, "highli": 8, "discourag": 8, "lot": 8, "api": 8, "rout": 8, "layer": 8, "context": 8, "intermedi": 8, "queri": 8, "permiss": 8, "avoid": 8, "intellig": 8, "enough": 8, "describ": 8, "primari": 8, "object": 8, "storag": 8, "support": 8, "primarili": 8, "public": 8, "like": 8, "g": 8, "cover": 8, "confidenti": 8, "encrypt": 8, "rest": 8, "transit": 8, "enabl": 8, "sign": 8, "upload": 8, "happen": 8, "manner": 8, "mechan": 8, "random": 8, "relat": 8, "even": 8, "worst": 8, "case": 8, "scenario": 8, "damag": 8, "minim": 8, "via": 8, "otp": 8, "shift": 8, "reset": 8, "crash": 8, "itself": 8, "realli": 8, "advis": 8, "metabas": 8, "superset": 8, "busi": 8, "read": 8, "replica": 8, "pii": 8, "field": 8, "allow": 8, "much": 8, "higher": 8, "visibl": 8, "better": 8, "driven": 8, "decis": 8, "ask": 8, "share": 8, "exist": 8, "dashboard": 8, "simplic": 8, "design": 8, "easi": 8}, "objects": {}, "objtypes": {}, "objnames": {}, "titleterms": {"django": [0, 8], "command": [0, 4], "github": 1, "repositori": 1, "glossari": 2, "hierarchi": 2, "model": 2, "facil": 2, "inventori": 2, "capac": 2, "locat": 2, "asset": 2, "extern": 2, "result": 2, "patient": 2, "resourc": 2, "welcom": 3, "care": 3, "": 3, "document": 3, "content": 3, "indic": 3, "tabl": 3, "set": 4, "up": 4, "develop": 4, "environ": 4, "us": 4, "docker": 4, "compos": 4, "manual": 4, "setup": 4, "postgr": 4, "first": 4, "time": 4, "pre": 4, "commit": 4, "basic": 4, "your": 4, "user": 4, "type": 4, "check": 4, "run": 4, "test": 4, "connect": 5, "middlewar": 5, "other": 6, "detail": 6, "vapid": 6, "kei": 6, "jwk": 6, "debug": 7, "pycharm": 7, "configur": 7, "remot": 7, "python": 7, "interpret": 7, "known": 7, "issu": 7, "work": 8, "compon": 8, "backend": 8, "task": 8, "schedul": 8, "celeri": 8, "beat": 8, "worker": 8, "databas": 8, "postgresql": 8, "cach": 8, "redi": 8, "bucket": 8, "s3": 8, "sm": 8, "gatewai": 8, "aw": 8, "sn": 8, "email": 8, "se": 8, "report": 8, "infrastructur": 8}, "envversion": {"sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx": 60}, "alltitles": {"Django Commands": [[0, "django-commands"]], "GitHub Repository": [[1, "github-repository"]], "Glossary": [[2, "glossary"]], "Hierarchy": [[2, "hierarchy"]], "Models": [[2, "models"]], "Facility": [[2, "facility"]], "Inventory": [[2, "inventory"]], "Capacity": [[2, "capacity"]], "Location": [[2, "location"]], "Assets": [[2, "assets"]], "External Results": [[2, "external-results"]], "Patient": [[2, "patient"]], "Resources": [[2, "resources"]], "Welcome to Care\u2019s documentation!": [[3, "welcome-to-care-s-documentation"]], "Contents:": [[3, null]], "Indices and tables": [[3, "indices-and-tables"]], "Setting up development environment": [[4, "setting-up-development-environment"]], "Using Docker Compose": [[4, "using-docker-compose"]], "Manual setup": [[4, "manual-setup"]], "Setting up postgres for the first time": [[4, "setting-up-postgres-for-the-first-time"]], "Setting up Pre-Commit": [[4, "setting-up-pre-commit"]], "Basic Commands": [[4, "basic-commands"]], "Setting Up Your Users": [[4, "setting-up-your-users"]], "Type checks": [[4, "type-checks"]], "Run Tests": [[4, "run-tests"]], "Connecting with Middleware": [[5, "connecting-with-middleware"]], "Other Details": [[6, "other-details"]], "VAPID Keys": [[6, "vapid-keys"]], "JWKs": [[6, "jwks"]], "Debugging with Pycharm": [[7, "debugging-with-pycharm"]], "Configure Remote Python Interpreter": [[7, "configure-remote-python-interpreter"]], "Known issues": [[7, "known-issues"]], "Working Components": [[8, "working-components"]], "Backend (Django)": [[8, "backend-django"]], "Task Scheduler (celery beat)": [[8, "task-scheduler-celery-beat"]], "Task Worker (celery worker)": [[8, "task-worker-celery-worker"]], "Database (PostgreSQL)": [[8, "database-postgresql"]], "Cache (Redis)": [[8, "cache-redis"]], "Bucket (S3)": [[8, "bucket-s3"]], "SMS Gateway (AWS SNS)": [[8, "sms-gateway-aws-sns"]], "Email Gateway (AWS SES)": [[8, "email-gateway-aws-ses"]], "Reporting Infrastructure": [[8, "reporting-infrastructure"]]}, "indexentries": {}}) \ No newline at end of file +Search.setIndex({"docnames": ["django-commands/configuration", "github-repo/configuration", "glossary/configuration", "index", "local-setup/configuration", "middleware/configuration", "others/configuration", "pycharm/configuration", "working-components/configuration"], "filenames": ["django-commands/configuration.rst", "github-repo/configuration.rst", "glossary/configuration.rst", "index.rst", "local-setup/configuration.rst", "middleware/configuration.rst", "others/configuration.rst", "pycharm/configuration.rst", "working-components/configuration.rst"], "titles": ["Django Commands", "GitHub Repository", "Glossary", "Welcome to Care\u2019s documentation!", "Setting up development environment", "Connecting with Middleware", "Other Details", "Debugging with Pycharm", "Working Components"], "terms": {"all": [0, 1, 2, 4, 7, 8], "must": [0, 1, 5], "execut": [0, 7, 8], "invok": 0, "python": [0, 3, 4, 6], "manag": [0, 2, 4, 6, 7], "py": [0, 4, 6, 7], "so": [0, 1, 4, 8], "exampl": [0, 2, 8], "i": [0, 1, 2, 4, 7, 8], "do_someth": 0, "correct": 0, "wai": [0, 4], "call": 0, "make": [0, 4, 7, 8], "sure": [0, 4, 7], "run": [0, 2, 3, 6, 7, 8], "root": 0, "directori": [0, 4, 7], "project": [0, 1, 7, 8], "ani": [0, 1, 4, 8], "virtual": [0, 6], "environ": [0, 3, 6], "present": 0, "activ": 0, "befor": [0, 4], "argument": 0, "descript": [0, 2], "createsuperus": [0, 4], "none": 0, "thi": [0, 2, 4, 6, 7, 8], "us": [0, 2, 3, 6, 7, 8], "creat": [0, 2, 4, 8], "superus": [0, 4], "care": [0, 1, 2, 4, 7, 8], "applic": [0, 1, 2, 6, 8], "ar": [0, 1, 2, 4, 6, 7, 8], "abl": 0, "log": 0, "through": [0, 8], "admin": 0, "panel": [0, 7], "access": [0, 8], "scope": 0, "do": [0, 4, 7], "appli": 0, "them": [0, 7], "pleas": 0, "take": [0, 4, 7], "caution": 0, "when": [0, 2, 8], "strict": 0, "password": [0, 4, 8], "polici": 0, "account": [0, 4], "ideal": [0, 8], "should": [0, 2, 5, 7, 8], "onli": [0, 4, 8], "one": [0, 2, 8], "invoc": 0, "load_dummy_data": [0, 4], "load": [0, 4, 8], "dummi": [0, 4], "data": [0, 2, 4, 8], "test": [0, 2, 3, 7], "develop": [0, 1, 2, 3], "purpos": [0, 8], "user": [0, 3], "devdistrictadmin": 0, "coronasaf": [0, 2, 8], "123": 0, "popul": 0, "load_data": 0, "kerala": 0, "seed_data": 0, "intention": 0, "fail": [0, 4], "stage": 0, "product": [0, 1], "state_nam": 0, "district": 0, "lsg": 0, "ward": [0, 2], "level": [0, 2], "given": [0, 8], "state": [0, 2, 7], "The": [0, 1, 4, 5, 8], "import": [0, 7], "scrape": 0, "from": [0, 1, 2, 5, 7], "variou": [0, 6, 8], "sourc": [0, 1, 2], "can": [0, 2, 4, 7, 8], "chang": [0, 4, 8], "point": 0, "If": [0, 4, 7, 8], "name": [0, 2, 4, 7, 8], "avail": [0, 1], "load_medicines_data": 0, "medibas": 0, "medicin": 0, "databas": [0, 3, 4], "json": [0, 6], "static": [0, 4, 8], "need": [0, 2, 6, 8], "includ": [0, 2], "inventori": [0, 3], "seed": 0, "oxygen": [0, 2], "medic": [0, 2], "etc": [0, 2, 4], "load_skill_data": 0, "default": [0, 8], "skill": 0, "summar": [0, 8], "summari": [0, 8], "job": [0, 8], "celeri": [0, 3, 4], "everi": [0, 4], "10": [0, 4], "min": 0, "we": [0, 2], "forc": 0, "current": 0, "updat": [0, 1, 7, 8], "tabl": 0, "repo": [1, 4], "here": [1, 4], "contain": [1, 4, 5], "code": [1, 4, 7, 8], "apart": 1, "secret": 1, "configur": [1, 3, 5, 8], "runtim": 1, "exact": 1, "copi": [1, 4], "deploi": [1, 8], "master": 1, "branch": 1, "auto": 1, "instanc": [1, 8], "regard": [1, 4], "beta": 1, "version": [1, 4], "stabl": 1, "releas": 1, "tag": 1, "pr": 1, "": [1, 2], "issu": [1, 3, 4], "monitor": 1, "review": 1, "team": [1, 8], "merg": 1, "after": [1, 4, 7], "secur": 1, "other": [1, 2, 3, 4, 7], "fork": 1, "deploy": [1, 7, 8], "follow": [1, 4], "same": 1, "structur": [1, 8], "remain": 1, "sync": 1, "keep": [1, 2], "get": [1, 4, 7], "comprehens": 2, "tool": [2, 4, 8], "built": [2, 8], "specif": 2, "covid": 2, "pandem": 2, "It": [2, 8], "web": [2, 6], "base": [2, 7], "host": 2, "http": [2, 4, 7], "network": 2, "document": [2, 6], "give": [2, 4], "an": [2, 4, 8], "overview": 2, "system": 2, "who": 2, "willing": 2, "contribut": 2, "maintain": 2, "process": [2, 8], "up": [2, 3, 8], "right": 2, "mean": 2, "each": [2, 8], "record": 2, "associ": 2, "repres": 2, "hospit": [2, 4], "There": [2, 4, 8], "15": [2, 4], "type": [2, 3], "its": [2, 7, 8], "id": [2, 4, 5, 6], "number": [2, 4, 8], "convent": 2, "ha": 2, "basic": [2, 3], "inform": [2, 8], "bed": 2, "cylind": 2, "doctor": [2, 4], "refer": 2, "karunya": 2, "arogya": 2, "suraksha": 2, "padhathi": 2, "kasp": 2, "health": 2, "scheme": 2, "item": 2, "good": 2, "merchandis": 2, "materi": 2, "held": 2, "help": [2, 4, 8], "u": [2, 4], "track": 2, "stock": 2, "could": 2, "ppe": 2, "kit": 2, "rice": 2, "mask": [2, 8], "also": [2, 4, 8], "set": [2, 3, 7], "minimum": 2, "quantiti": 2, "notifi": 2, "out": [2, 4], "hold": 2, "detail": [2, 3, 4, 8], "count": [2, 8], "would": 2, "occupi": 2, "total": 2, "have": [2, 4, 7, 8], "multipl": [2, 8], "These": 2, "which": [2, 4, 7, 8], "flexibl": 2, "custom": 2, "accord": 2, "ad": [2, 7], "differ": [2, 7], "depart": 2, "thing": [2, 7], "instrument": 2, "equip": 2, "properti": 2, "link": 2, "move": 2, "anoth": 2, "within": 2, "come": [2, 7], "rt": 2, "pcr": 2, "antigen": 2, "privat": [2, 8], "lab": 2, "thei": [2, 7], "found": 2, "suspect": 2, "under": 2, "manual": [2, 3], "directli": [2, 7], "pull": 2, "three": [2, 8], "main": [2, 4], "section": 2, "person": 2, "histori": 2, "uniqu": 2, "identifi": 2, "phone": [2, 4], "date": 2, "birth": 2, "overal": 2, "concept": 2, "diagram": 2, "download": 2, "excalidraw": 2, "file": [2, 4, 7], "docker": [3, 7], "compos": [3, 7], "setup": 3, "postgr": 3, "first": [3, 7], "time": [3, 8], "pre": 3, "commit": 3, "command": [3, 6, 7], "your": [3, 7], "check": 3, "debug": 3, "pycharm": 3, "remot": 3, "interpret": 3, "known": 3, "work": 3, "compon": 3, "backend": 3, "django": [3, 7], "task": [3, 4], "schedul": 3, "beat": 3, "worker": 3, "postgresql": [3, 4], "cach": [3, 4], "redi": [3, 4], "bucket": 3, "s3": 3, "sm": 3, "gatewai": 3, "aw": [3, 4], "sn": 3, "email": [3, 4], "se": 3, "report": 3, "infrastructur": 3, "github": 3, "repositori": [3, 7], "vapid": 3, "kei": 3, "jwk": 3, "glossari": 3, "hierarchi": 3, "model": [3, 8], "facil": [3, 5, 8], "capac": 3, "locat": 3, "asset": 3, "extern": [3, 8], "result": [3, 8], "patient": [3, 4, 8], "resourc": 3, "connect": [3, 7, 8], "middlewar": 3, "index": [3, 7], "modul": 3, "search": 3, "page": [3, 6, 8], "two": 4, "server": [4, 5, 6, 8], "most": [4, 7], "recommend": 4, "you": [4, 7, 8], "don": 4, "t": 4, "5": 4, "memori": [4, 8], "queue": 4, "localstack": 4, "mimic": 4, "servic": [4, 7], "local": [4, 7], "instal": [4, 7], "appropri": 4, "depend": 4, "chanc": 4, "conflict": 4, "might": [4, 7], "while": 4, "upon": 4, "internet": 4, "speed": 4, "machin": [4, 7], "spec": 4, "step": 4, "start": 4, "To": [4, 6, 7], "open": [4, 6], "browser": 4, "go": [4, 7], "localhost": 4, "9000": 4, "stop": 4, "down": 4, "sudo": 4, "psql": 4, "see": [4, 7], "error": 4, "fatal": 4, "peer": 4, "authent": [4, 5], "In": [4, 7], "shell": 4, "exit": 4, "q": 4, "edit": 4, "pg_hba": 4, "conf": 4, "md5": 4, "restart": 4, "login": [4, 8], "grant": 4, "privileg": 4, "ON": 4, "TO": 4, "mai": 4, "replac": 4, "prefer": 4, "Then": 4, "list": 4, "git": [4, 7], "hook": 4, "featur": [4, 8], "fix": 4, "small": 4, "packag": 4, "organis": 4, "more": 4, "pre_commit_sit": 4, "pipenv": 4, "categori": 4, "dev": 4, "want": 4, "faq": 4, "reach": 4, "coronasafe_django": 4, "channel": 4, "slack": 4, "resolv": 4, "prompt": 4, "usernam": 4, "enter": 4, "goe": 4, "done": 4, "note": 4, "thisw": 4, "virtualenv": 4, "export": [4, 6], "database_url": 4, "127": 4, "0": 4, "1": 4, "5432": 4, "migrat": [4, 7], "everyth": 4, "ok": [4, 7], "again": 4, "now": 4, "ignor": 4, "warn": 4, "usertyp": 4, "valu": 4, "staff": 4, "administr": 4, "20": 4, "volunt": 4, "gender": 4, "male": 4, "2": [4, 8], "femal": 4, "3": 4, "e": [4, 8], "mail": 4, "phonenumb": 4, "ten": 4, "digit": 4, "css": [4, 8], "j": [4, 8], "imag": [4, 8], "media": 4, "websit": [4, 6], "style": 4, "collectstat": 4, "mypi": 4, "config": 4, "n": 4, "improperlyconfigur": 4, "spatialit": 4, "librari": 4, "extens": 4, "apt": 4, "libsqlite3": 4, "mod": 4, "request": [5, 8], "auth": 5, "token": [5, 8], "middleware_bear": 5, "realm": 5, "facility_id": 5, "x": [5, 7], "header": 5, "asset_id": 5, "jwt": 5, "auxiliari": 6, "topic": 6, "voluntari": 6, "ident": 6, "mainli": 6, "send": [6, 8], "receiv": 6, "push": 6, "notif": [6, 8], "gener": 6, "keypair": 6, "npx": 6, "perform": 6, "verif": 6, "generate_jwk": 6, "obtain": 6, "base64": 6, "string": 6, "jwks_base64": 6, "insid": 7, "awar": 7, "build": 7, "linux": 7, "socket": 7, "unix": 7, "var": 7, "sock": 7, "window": 7, "mac": 7, "simpli": 7, "credenti": 7, "alreadi": 7, "prepar": 7, "But": 7, "begin": 7, "someth": 7, "wrong": 7, "red": 7, "icon": 7, "cannot": [7, 8], "without": 7, "interptet": 7, "next": 7, "add": 7, "new": 7, "click": 7, "cog": 7, "switch": 7, "select": 7, "yml": 7, "close": 7, "wait": 7, "few": 7, "second": 7, "readi": 7, "provid": [7, 8], "mani": 7, "hang": 7, "debugg": 7, "fault": 7, "firewal": 7, "look": 7, "ticket": 7, "youtrack": 7, "jetbrain": 7, "com": 7, "18913": 7, "modifi": 7, "idea": 7, "were": 7, "gitignor": 7, "except": 7, "made": 7, "some": 7, "alter": 7, "theori": 7, "remov": [7, 8], "peopl": 7, "lose": 7, "abil": 7, "initi": 7, "did": 7, "rid": 7, "annoi": 7, "assum": 7, "unchang": 7, "iml": 7, "explain": 8, "gunicorn": 8, "serv": 8, "No": 8, "core": 8, "per": 8, "sinc": 8, "involv": 8, "veri": 8, "littl": 8, "cpu": 8, "alloc": 8, "increas": 8, "balanc": 8, "scale": 8, "certain": 8, "interv": 8, "similar": 8, "cron": 8, "respons": 8, "period": 8, "doe": 8, "actual": 8, "becaus": 8, "crucial": 8, "alwai": 8, "asynchron": 8, "event": 8, "produc": 8, "discharg": 8, "background": 8, "requir": 8, "store": 8, "rabbitmq": 8, "instead": 8, "highli": 8, "discourag": 8, "lot": 8, "api": 8, "rout": 8, "layer": 8, "context": 8, "intermedi": 8, "queri": 8, "permiss": 8, "avoid": 8, "intellig": 8, "enough": 8, "describ": 8, "primari": 8, "object": 8, "storag": 8, "support": 8, "primarili": 8, "public": 8, "like": 8, "g": 8, "cover": 8, "confidenti": 8, "encrypt": 8, "rest": 8, "transit": 8, "enabl": 8, "sign": 8, "upload": 8, "happen": 8, "manner": 8, "mechan": 8, "random": 8, "relat": 8, "even": 8, "worst": 8, "case": 8, "scenario": 8, "damag": 8, "minim": 8, "via": 8, "otp": 8, "shift": 8, "reset": 8, "crash": 8, "itself": 8, "realli": 8, "advis": 8, "metabas": 8, "superset": 8, "busi": 8, "read": 8, "replica": 8, "pii": 8, "field": 8, "allow": 8, "much": 8, "higher": 8, "visibl": 8, "better": 8, "driven": 8, "decis": 8, "ask": 8, "share": 8, "exist": 8, "dashboard": 8, "simplic": 8, "design": 8, "easi": 8}, "objects": {}, "objtypes": {}, "objnames": {}, "titleterms": {"django": [0, 8], "command": [0, 4], "github": 1, "repositori": 1, "glossari": 2, "hierarchi": 2, "model": 2, "facil": 2, "inventori": 2, "capac": 2, "locat": 2, "asset": 2, "extern": 2, "result": 2, "patient": 2, "resourc": 2, "welcom": 3, "care": 3, "": 3, "document": 3, "content": 3, "indic": 3, "tabl": 3, "set": 4, "up": 4, "develop": 4, "environ": 4, "us": 4, "docker": 4, "compos": 4, "manual": 4, "setup": 4, "postgr": 4, "first": 4, "time": 4, "pre": 4, "commit": 4, "basic": 4, "your": 4, "user": 4, "type": 4, "check": 4, "run": 4, "test": 4, "connect": 5, "middlewar": 5, "other": 6, "detail": 6, "vapid": 6, "kei": 6, "jwk": 6, "debug": 7, "pycharm": 7, "configur": 7, "remot": 7, "python": 7, "interpret": 7, "known": 7, "issu": 7, "work": 8, "compon": 8, "backend": 8, "task": 8, "schedul": 8, "celeri": 8, "beat": 8, "worker": 8, "databas": 8, "postgresql": 8, "cach": 8, "redi": 8, "bucket": 8, "s3": 8, "sm": 8, "gatewai": 8, "aw": 8, "sn": 8, "email": 8, "se": 8, "report": 8, "infrastructur": 8}, "envversion": {"sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx": 60}, "alltitles": {"Django Commands": [[0, "django-commands"]], "GitHub Repository": [[1, "github-repository"]], "Glossary": [[2, "glossary"]], "Hierarchy": [[2, "hierarchy"]], "Models": [[2, "models"]], "Facility": [[2, "facility"]], "Inventory": [[2, "inventory"]], "Capacity": [[2, "capacity"]], "Location": [[2, "location"]], "Assets": [[2, "assets"]], "External Results": [[2, "external-results"]], "Patient": [[2, "patient"]], "Resources": [[2, "resources"]], "Welcome to Care\u2019s documentation!": [[3, "welcome-to-care-s-documentation"]], "Contents:": [[3, null]], "Indices and tables": [[3, "indices-and-tables"]], "Setting up development environment": [[4, "setting-up-development-environment"]], "Using Docker Compose": [[4, "using-docker-compose"]], "Manual setup": [[4, "manual-setup"]], "Setting up postgres for the first time": [[4, "setting-up-postgres-for-the-first-time"]], "Setting up Pre-Commit": [[4, "setting-up-pre-commit"]], "Basic Commands": [[4, "basic-commands"]], "Setting Up Your Users": [[4, "setting-up-your-users"]], "Type checks": [[4, "type-checks"]], "Run Tests": [[4, "run-tests"]], "Connecting with Middleware": [[5, "connecting-with-middleware"]], "Other Details": [[6, "other-details"]], "VAPID Keys": [[6, "vapid-keys"]], "JWKs": [[6, "jwks"]], "Debugging with Pycharm": [[7, "debugging-with-pycharm"]], "Configure Remote Python Interpreter": [[7, "configure-remote-python-interpreter"]], "Known issues": [[7, "known-issues"]], "Working Components": [[8, "working-components"]], "Backend (Django)": [[8, "backend-django"]], "Task Scheduler (celery beat)": [[8, "task-scheduler-celery-beat"]], "Task Worker (celery worker)": [[8, "task-worker-celery-worker"]], "Database (PostgreSQL)": [[8, "database-postgresql"]], "Cache (Redis)": [[8, "cache-redis"]], "Bucket (S3)": [[8, "bucket-s3"]], "SMS Gateway (AWS SNS)": [[8, "sms-gateway-aws-sns"]], "Email Gateway (AWS SES)": [[8, "email-gateway-aws-ses"]], "Reporting Infrastructure": [[8, "reporting-infrastructure"]]}, "indexentries": {}}) \ No newline at end of file