diff --git a/_sources/local-setup/configuration.rst.txt b/_sources/local-setup/configuration.rst.txt index c6143b4b42..b30335bf4e 100644 --- a/_sources/local-setup/configuration.rst.txt +++ b/_sources/local-setup/configuration.rst.txt @@ -16,7 +16,7 @@ Using Docker Compose - care (main repo) - redis (in-memory cache) - celery (task queue) - - localstack (to mimic AWS services locally) + - minio (to mimic AWS services locally) This is the most recommended way of setting up care locally, as it installs appropriate dependencies in containers so there diff --git a/local-setup/configuration.html b/local-setup/configuration.html index a67d42bdde..ee7de66b94 100644 --- a/local-setup/configuration.html +++ b/local-setup/configuration.html @@ -268,7 +268,7 @@

Using Docker Compose

care (main repo)

  • redis (in-memory cache)

  • celery (task queue)

  • -
  • localstack (to mimic AWS services locally)

  • +
  • minio (to mimic AWS services locally)

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