Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ujblockchain/django_hedera
Hedera with Django for data storage and retrieval
https://github.com/ujblockchain/django_hedera
django django-framework hedera hedera-hashgraph hedera-network hedera-sdk
Last synced: about 1 month ago
JSON representation
Hedera with Django for data storage and retrieval
- Host: GitHub
- URL: https://github.com/ujblockchain/django_hedera
- Owner: ujblockchain
- License: mit
- Created: 2024-02-16T12:49:38.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-04-12T15:22:49.000Z (8 months ago)
- Last Synced: 2024-04-12T22:59:57.580Z (8 months ago)
- Topics: django, django-framework, hedera, hedera-hashgraph, hedera-network, hedera-sdk
- Language: CSS
- Homepage: https://blockchain.uj.ac..za
- Size: 1.48 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
.. image:: https://blockchain.uj.ac.za/static/images/main-logo.png
====================================================
Demystifying Blockchain Bootcamp April Edition 2024
====================================================South Africa-Switzerland Bilateral Research Chair in Blockchain Technology (UJ Blockchain) aims to explore blockchain
integrations with real-world applications and development in Agric food.============
Setup
==========Set environment variable for Django Secret Key, Debug, Allowed Host, and Admin Path. Also add configuration for
Django Axes and Email with SMTP Host... code-block:: bash
SECRET_KEY = '...'
DEBUG = ..
ALLOWED_HOSTS = '...'
ADMIN_PATH = '...'ENGINE = '...'
NAME = '...'
HOST = '...'
USER = '...'
PASSWORD = '...'
PORT = '...'SILENCED_SYSTEM_CHECKS = '...'
AXES_FAILURE_LIMIT = '...'
AXES_COOLOFF_TIME = '...'
AXES_ONLY_ADMIN_SITE = '...'
AXES_USERNAME_FORM_FIELD = '...'
AXES_RESET_ON_SUCCESS = '...'
AXES_NEVER_LOCKOUT_WHITELIST = '...'
AXES_IP_WHITELIST = '...'
AXES_ENABLE_ACCESS_FAILURE_LOG = '...'
AXES_RESET_ON_SUCCESS = '...'
AXES_LOCKOUT_PARAMETERS = '...'EMAIL_BACKEND = '...'
EMAIL_PORT = '...'
EMAIL_HOST = '...'
EMAIL_HOST_USER = '...'
EMAIL_HOST_PASSWORD = '...'
DEFAULT_FROM_EMAIL = '...'
SERVER_EMAIL = '...'
EMAIL_SUBJECT_PREFIX = '...'
EMAIL_USE_TSL = '...'Recaptcha Setup
----------------Set *google recaptcha* public and private key in environment variables. Public and private key can be gotten from *https://developers.google.com/recaptcha/*. Ensure you use :emphasis:`reCAPTCHA v3`.
.. code-block:: none
RECAPTCHA_PUBLIC_KEY = '...'
RECAPTCHA_PRIVATE_KEY = '...'
RECAPTCHA_REQUIRED_SCORE = '...'Install Java
----------------This project uses a python wrapper for the Hedera Java SDk, as such *JDK > 11* must be installed. Ensure you add *JAVA_HOME* to path.
Running Project
----------------Setup
^^^^^^^^^^^
.. code-block:: nonemake setup
create Superuser
^^^^^^^^^^^^^^^^^^
.. code-block:: nonemake superuser
Run Server
^^^^^^^^^^^
.. code-block:: nonemake runserver