Skip to content

Latest commit

 

History

History
51 lines (37 loc) · 1.11 KB

README.md

File metadata and controls

51 lines (37 loc) · 1.11 KB

BurstCoin Blockchain Explorer

This documentation is a work in progress. More details to follow.

Requirements

apt install python3-dev default-libmysqlclient-dev build-essential redis-server supervisor

  • Python 3.7

The following python modules are required as well: python celery django django-cache-memoize django-cors-headers django-filter django-redis djangorestframework gunicorn jsonschema mysqlclient pycoingecko python-redis-lock requests sentry-sdk simplejson supervisor whitenoise python-dotenv

Set-up

cp .env.default .env

Configure your .env:

See DB ENGINES PARAMS

DB_JAVA_WALLET (signum full node database) Only requires read access

See additional info about set up DB here

To initilize the explorer database (DB_DEFAULT) run the following command: python manage.py migrate --no-input

Start a django webserver to test if your instance works: python manage.py runserver 0.0.0.0:5000

To run in production use the provided supervisord.conf to run the service with supervisord: /path/to/your/supervisord -c /supervisord.conf