{"id":20310366,"url":"https://github.com/ujblockchain/sarchiweb","last_synced_at":"2025-08-18T01:35:20.974Z","repository":{"id":187449019,"uuid":"676160854","full_name":"ujblockchain/sarchiweb","owner":"ujblockchain","description":"Official Website for South Africa-Switzerland Bilateral Research Chair in Blockchain Technology (UJ Blockchain) which aims to explore blockchain integrations with real-world applications and development.","archived":false,"fork":false,"pushed_at":"2025-08-11T17:54:13.000Z","size":27178,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-11T18:11:35.426Z","etag":null,"topics":["agri-food","blockchain","blockchain-technology","dapps-development","django","hedera","hedera-hashgraph","jinja2","web3","web3-dapp"],"latest_commit_sha":null,"homepage":"https://blockchain.uj.ac.za","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ujblockchain.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2023-08-08T15:06:40.000Z","updated_at":"2025-08-11T17:54:17.000Z","dependencies_parsed_at":"2023-10-27T11:25:47.098Z","dependency_job_id":"19fa3a21-bd50-47fd-86a2-eb645603c7be","html_url":"https://github.com/ujblockchain/sarchiweb","commit_stats":null,"previous_names":["ujsarchiblockchain/sarchiweb","ujblockchain/sarchiweb"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ujblockchain/sarchiweb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ujblockchain%2Fsarchiweb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ujblockchain%2Fsarchiweb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ujblockchain%2Fsarchiweb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ujblockchain%2Fsarchiweb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ujblockchain","download_url":"https://codeload.github.com/ujblockchain/sarchiweb/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ujblockchain%2Fsarchiweb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270932580,"owners_count":24670241,"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","status":"online","status_checked_at":"2025-08-17T02:00:09.016Z","response_time":129,"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":["agri-food","blockchain","blockchain-technology","dapps-development","django","hedera","hedera-hashgraph","jinja2","web3","web3-dapp"],"created_at":"2024-11-14T17:31:31.571Z","updated_at":"2025-08-18T01:35:20.928Z","avatar_url":"https://github.com/ujblockchain.png","language":"HTML","readme":".. figure:: https://blockchain.uj.ac.za/static/images/logo.png\n    :align: center\n\n\n=========\nSARChI\n=========\n\nSouth Africa-Switzerland Bilateral Research Chair in Blockchain Technology (UJ Blockchain) \naims to explore blockchain integrations with real-world applications and development in Agric food.\n\n\n==========\nSetup\n==========\n\nSet environment variable for Django Secret Key, Debug, Allowed Host, and Admin Path. \nAlso add configuration for Database, Django Axes and Email with SMTP Host.\n\n.. code-block:: bash\n\n    SECRET_KEY = '...'\n    DEBUG = ...\n    ALLOWED_HOSTS = '...'\n    ADMIN_PATH = '...'\n\n    ENGINE = '...'\n    NAME = '...'\n    HOST = '...'\n    USER = '...'\n    PASSWORD = '...'\n    PORT = '...'\n\n    SILENCED_SYSTEM_CHECKS = '...'\n    AXES_FAILURE_LIMIT = '...'\n    AXES_COOLOFF_TIME = '...'\n    AXES_ONLY_ADMIN_SITE = '...'\n    AXES_LOCKOUT_TEMPLATE = '...'\n    AXES_LOCKOUT_URL = '...'\n    AXES_USERNAME_FORM_FIELD = '...'\n    AXES_RESET_ON_SUCCESS = '...'\n    AXES_NEVER_LOCKOUT_WHITELIST = '...'\n    AXES_IP_WHITELIST = '...'\n    AXES_ENABLE_ACCESS_FAILURE_LOG = '...'\n    AXES_RESET_ON_SUCCESS = '...'\n    AXES_LOCKOUT_PARAMETERS = '...'\n\n    EMAIL_BACKEND = '...'\n    EMAIL_PORT = '...'\n    EMAIL_HOST = '...'\n    EMAIL_HOST_USER = '...'\n    EMAIL_HOST_PASSWORD = '...'\n    DEFAULT_FROM_EMAIL = '...'\n    SERVER_EMAIL = '...'\n    EMAIL_SUBJECT_PREFIX = '...'\n    EMAIL_USE_TSL = '...'\n\n\n\nRecaptcha Setup\n----------------\n\nSet *Google Recaptcha* public and private key in environment variables. \nPublic and private key can be gotten from *https://developers.google.com/recaptcha/*. \nEnsure you use :emphasis:`reCAPTCHA v3`.\n\n.. code-block:: bash\n\n    RECAPTCHA_PUBLIC_KEY = '...'\n    RECAPTCHA_PRIVATE_KEY = '...'\n    RECAPTCHA_REQUIRED_SCORE = ...\n\n\n\nHuey Setup\n---------------\n\nSetup huey distributed task processing using *greenlet* worker type. \nFor greenlet to work, you need to setup a monkey patch that serves as a custom bootstrap script.\n\n.. code-block:: bash\n\n    HUEY = {\n        'huey_class': 'huey.RedisHuey',  # Huey implementation to use.\n        'name': config('NAME'),  # Use db name for huey.\n        'results': True,  # Store return values of tasks.\n        'store_none': False,  # If a task returns None, do not save to results.\n        'immediate': False,\n        'utc': True,  # Use UTC for all times internally.\n        'blocking': True,  # Perform blocking pop rather than poll Redis.\n        'connection': {\n            'host': 'localhost',\n            'port': 6379,\n            'db': 0,\n            'connection_pool': None,  # Definitely you should use pooling!\n            # ... tons of other options, see redis-py for details.\n\n            # huey-specific connection parameters.\n            'read_timeout': 1,  # If not polling (blocking pop), use timeout.\n            'url': None,  # Allow Redis config via a DSN.\n        },\n        'consumer': {\n            'workers': 1,\n            'worker_type': 'thread',\n            'initial_delay': 0.1,  # Smallest polling interval, same as -d.\n            'backoff': 1.15,  # Exponential backoff using this rate, -b.\n            'max_delay': 10.0,  # Max possible polling interval, -m.\n            'scheduler_interval': 1,  # Check schedule every second, -s.\n            'periodic': True,  # Enable crontab feature.\n            'check_worker_health': True,  # Enable worker health checks.\n            'health_check_interval': 1,  # Check worker health every second.\n        },\n    }\n\n\nRunning Project\n----------------\n\nSetup\n^^^^^^^^^^^\n\n.. code-block:: bash\n\n    make setup\n\n\ncreate Superuser\n^^^^^^^^^^^^^^^^^^\n\n.. code-block:: bash\n\n    make superuser\n\n\nRun Server\n^^^^^^^^^^^\n.. code-block:: bash\n\n    make runserver\n\n\nStart Background Task\n^^^^^^^^^^^^^^^^^^^^^^\n\nThere is need for a background task using huey to send emails to users.\n\n.. code-block:: bash\n\n    make huey\n\n\nRunning Test With Coverage\n^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n.. code-block:: bash\n\n    make run-coverage\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fujblockchain%2Fsarchiweb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fujblockchain%2Fsarchiweb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fujblockchain%2Fsarchiweb/lists"}