{"id":26936128,"url":"https://github.com/vecnet/om","last_synced_at":"2026-04-05T23:34:16.511Z","repository":{"id":69324051,"uuid":"47932301","full_name":"vecnet/om","owner":"vecnet","description":"OpenMalaria Portal","archived":false,"fork":false,"pushed_at":"2023-08-30T02:51:12.000Z","size":9462,"stargazers_count":1,"open_issues_count":9,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-03-27T03:40:10.728Z","etag":null,"topics":["django","jquery","malaria","modeling","postgresql","python","vagrant","wsgi"],"latest_commit_sha":null,"homepage":"https://om.vecnet.org","language":"Python","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}},"created_at":"2015-12-13T19:04:52.000Z","updated_at":"2023-08-30T02:51:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"2f2a8ec1-bf41-49c6-b5a2-2b710e8da92b","html_url":"https://github.com/vecnet/om","commit_stats":{"total_commits":314,"total_committers":6,"mean_commits":"52.333333333333336","dds":0.3439490445859873,"last_synced_commit":"251d9f730372724b2ba17b2f57a520cfbce8aa95"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vecnet%2Fom","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vecnet%2Fom/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vecnet%2Fom/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vecnet%2Fom/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vecnet","download_url":"https://codeload.github.com/vecnet/om/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246815575,"owners_count":20838465,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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","jquery","malaria","modeling","postgresql","python","vagrant","wsgi"],"created_at":"2025-04-02T12:31:54.407Z","updated_at":"2025-12-30T23:11:40.017Z","avatar_url":"https://github.com/vecnet.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Coverage Status](https://coveralls.io/repos/github/vecnet/om/badge.svg)](https://coveralls.io/github/vecnet/om)\n[![Build Status](https://travis-ci.org/vecnet/om.svg?branch=master)](https://travis-ci.org/vecnet/om)\n\n# Overview\n\nOpenMalaria portal is a user-friendly web interface for OpenMalaria model. User can create\nsimulation, define environment and explore effect of interventions (drugs, spraying, bednets) on\nmalaria transmission levels. Model can be executed from the web interface using our\nhigh-performance cluster.\nModel output can be easily visualized or downloaded for further processing.\n\n\nhttps://github.com/vecnet/om/assets/1641196/1965c836-0290-4f06-98a7-3414bf2a80fb\n\n\n# System requirements\n\nThis Django project has been tested on Windows 8 x64, RedHat 7 and CentOS 7\n\n* Django 1.11\n* Python 3.5\n* PostgreSQL 9.4\n* Apache 2.4\n\n# Quick Start Guide - Development\n\n1. Create database structures\n    `./manage.py migrate`\n\n2. Create an admin user\n   `./manage.py createsuperuser`\n\n3. Run the server.\n```bash\npython manage.py runserver\n```\n\n# Using docker-compose.\n\n```bash\ndocker-compose up\n```\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: om, Login: om, Password: om\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': 'om',\n        'USER': 'om',\n        'PASSWORD': 'om',\n        'HOST': '127.0.0.1',\n        'PORT': '5432',\n    }\n}\n```\n\n# Configuration\n\n1. By default, website.settings.dev is used for manage.py and website.settings.production is used in wsgi.py\nIt is typically required to change default settings file used in manage.py in production and qa environments\n\n2. Create 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\n3. Create settings_local.py in website/settings directory. Example:\n\n```python\nDEBUG = False\nSECRET_KEY = 'z5azf=qbb%lmzd^xf9#g5bqtv30e%12P!t(\u0026!0hkpzp0jc8q5$'\nDATABASES = {\n    'default': {\n        'ENGINE': \"django.db.backends.postgresql_psycopg2\",\n        'NAME': \"om\",\n        'USER': \"om\",\n        'PASSWORD': \"om\",\n        'HOST': \"127.0.0.1\",\n        'PORT': \"5432\",\n    }\n}\nADMINS = [\n    ('Alex', 'avyushko@nd.edu'),\n]\n\nALLOWED_HOSTS = [\n    'om.vecnet.org',\n]\n```\n\n4. Setup cron jobs:\n`python manage.py crontab add`\n\n# Enable VecNet SSO (VecNet instance only)\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\n# Let's encrypt it notes\n\n```bash\n/root/.acme.sh/acme.sh --issue -d om.vecnet.org -w /opt/portal/om.vecnet.org/apache/ --log\n/root/.acme.sh/acme.sh --installcert -d om.vecnet.org --certpath /etc/httpd/ssl/om.vecnet.org.cer --keypath /etc/httpd/ssl/om.vecnet.org.key --fullchainpath /etc/httpd/ssl/om.vecnet.org.int.cer --reloadcmd \"service httpd restart\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvecnet%2Fom","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvecnet%2Fom","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvecnet%2Fom/lists"}