{"id":26936070,"url":"https://github.com/vecnet/zika","last_synced_at":"2026-05-01T13:33:03.909Z","repository":{"id":69324085,"uuid":"59581407","full_name":"vecnet/zika","owner":"vecnet","description":"Overcoming uncertainty to enable estimation and forecasting of Zika virus transmission","archived":false,"fork":false,"pushed_at":"2018-04-03T14:17:13.000Z","size":83902,"stargazers_count":0,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-02T12:38:56.999Z","etag":null,"topics":["django","zika"],"latest_commit_sha":null,"homepage":"https://zika.vecnet.org","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vecnet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-05-24T14:41:27.000Z","updated_at":"2018-04-03T14:17:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"25105d9e-6077-4e72-9e4a-1ebc6611316d","html_url":"https://github.com/vecnet/zika","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vecnet/zika","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vecnet%2Fzika","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vecnet%2Fzika/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vecnet%2Fzika/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vecnet%2Fzika/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vecnet","download_url":"https://codeload.github.com/vecnet/zika/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vecnet%2Fzika/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32499681,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["django","zika"],"created_at":"2025-04-02T12:31:19.395Z","updated_at":"2026-05-01T13:33:03.896Z","avatar_url":"https://github.com/vecnet.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Overview\n\nNew research from the University of Notre Dame will be used to generate maps that provide time-sensitive estimates of \nmosquito densities, human birth rates and Zika transmission activity across Latin America and the Caribbean. \nThe model outputs will be available online to provide users with the ability to find reported cases and estimated \nincidences by location to improve disease transmission and prevalence forecasts, which is critical to making \naccurate predictions and translating results into effective public health strategies.\n\nThe study is being conducted by Alex Perkins, Eck Family Assistant Professor of Biological Sciences \nand Eck Institute for Global Health affiliated faculty member, who received a rapid response grant (RAPID) \nfrom the National Science Foundation’s (NSF) Division of Environmental Biology’s Ecology and Evolution of \nInfectious Diseases Program for his research proposal that focuses on enabling estimation and \nforecasting of Zika virus transmission. NSF created these RAPID awards in order to specifically understand \nthe rate of spread, number of infected people and the likely persistence of Zika as a public health threat, \nand to help prepare for the next outbreak.\n\nResults from the project will benefit the Zika public health emergency response, as researchers will have \ntools in place to share quality data and forecasts both during the study and after the project concludes. \nThis will be a valuable asset for policymakers as they continue to make decisions surrounding this disease.\n\n#System requirements\n\nThis Django project has been tested on Windows 10 x64, MAC OS 10.7 and CentOS 7\n\n* Django 1.11\n* Python 3.4\n* PostgreSQL 9.4\n* Apache 2.4\n\n# Project documentation\n\nProject documentation, including meeting minutes is on Google Drive - https://drive.google.com/drive/folders/0BwiQpgfLBcI1aVVtQ2VoVnBoMHc\n\n#Quick Start Guide\n1. Create database structures\n    `./manage.py migrate`\n\n2. Check if there are database migrations by reviewing the list of known migrations:\n    `./manage.py migrate --list`\n\n3. Create an admin user\n   `./manage.py createsuperuser`\n\n4. Upload simulation data\n   Click the 'Upload Simulation' link.\n   Select this file: website/apps/simulation/data/data_cases_combo_new.csv\n   Click Upload. There will now be data to visualize in charts and maps.\n\n# Using docker-compose\nRun `docker-compose` up in the project's root\ndirectory to quickly start development without having to setup a \nspecific dev environment first.\n\nBy default, the web interface is reachable at 'http://127.0.0.1:8001',\nwhile the database is listening on port 5433.\n\n\n#Using Vagrant\n\n1. Create Virtualbox VM `vagrant up`. It may take a while when starting VM for the first time\n\n2. Login to VM using `vagrant ssh` command or your favorite ssh client. Login: vagrant, password vagrant\n\n3. Switch to /vagrant directory `cd /vagrant`\n\n4. Start django server `python manage.py runserver 0.0.0.0:8000`\nNote you have to use 0.0.0.0 as server address, otherwise port forwarding may not work\n\nYou can edit files in your project directory, and changes will be visible to the virtual machine\n(in /vagrant directory)\n\nCredentials\n\n*SSH* Login: vagrant, password vagrant\n\n*PostgreSQL* Database: zika, Login: zika, Password: zika\n\n*Note*: To utilize the PostgreSQL database, create a `settings_local.py` file containing the following:\n```python\nDATABASES = {\n    'default': {\n        'ENGINE': 'django.db.backends.postgresql_psycopg2',\n        'NAME': 'zika',\n        'USER': 'zika',\n        'PASSWORD': 'zika',\n        'HOST': '127.0.0.1',\n        'PORT': '5432',\n    }\n}\n```\n\n# Specifying settings file\n\n0. By default, website.settings.dev is used for manage.py and website.settings.prod is used in wsgi.py\nIt is typically required to change default settings file used in manage.py in production and qa enviroments\n\n1. Exporting DJANGO_SETTINGS_MODULE variable\n\nThis method works well on the command line, but it doesn't seem to work with apache - SetEnv doesn't seem to have any effect when mod_wsgi\nis initalizing wsgi application object.\n\n2. Creating config_local.py in the root folder (next to wsgi.py and manage.py)\n\nNote if DJANGO_SETTINGS_MODULE is defined, it takes precedence over settings_module in config_local.py\n\nExample:\n```python\nsettings_module = \"website.settings.qa\"\n```\nCheck wsgi.py and manage.py to see how it works - they are different from default versions generated by Django.\n\n\n# Production deployment checklist\n\n1. Copy config_local_example.py to config_local.py\n\n2. Generate new SECRET_KEY in settings_local.py\n\n3. Enable VecNet SSO\n\n4. Make sure web server has write access to media and logs directories\n```bash\nsudo chown avyushko:www-data logs\nsudo chmod -R g+rw logs\nsudo chown avyushko:www-data media\nsudo chmod -R g+rw media\nsudo chmod g+rwx media/simulation_files\n```\n\n# Enable VecNet SSO\n\n1. Install django-auth-pubtkt package\n`pip install django-auth-pubtkt`\n\n2. Copy public key for validating pubtkt tickets to /etc/httpd/conf/sso/tkt_pubkey_dsa.pem\n\n3. Enable DjangoAuthPubtkt middleware - put snippet below to website/settings_local.py\nOrder is important - if you choose to keep standard Django authentication \nbackends, then django_auth_pubtkt.DjangoAuthPubtkt should be after them.\n```MIDDLEWARE_CLASSES = (\n    'django.middleware.common.CommonMiddleware',\n    'django.contrib.sessions.middleware.SessionMiddleware',\n    'django.middleware.csrf.CsrfViewMiddleware',\n    'django_auth_pubtkt.DjangoAuthPubtkt',\n    'django.contrib.messages.middleware.MessageMiddleware',\n) ```\n\n4. Set configuration options below (in website/settings_local.py)\n```from django_auth_pubtkt.views import redirect_to_sso\nfrom django.conf.urls import url\nLOGIN_URL = \"/sso/\"\nTKT_AUTH_LOGIN_URL = \"https://www.vecnet.org/index.php/sso-login\"\nTKT_AUTH_PUBLIC_KEY = '/etc/httpd/conf/sso/tkt_pubkey_dsa.pem'\nSSO_URLS = [url(r'^sso/', redirect_to_sso),]\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvecnet%2Fzika","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvecnet%2Fzika","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvecnet%2Fzika/lists"}