Skip to content

Decentralized Computation Node for The Chiron Network

Notifications You must be signed in to change notification settings

chironnetwork/node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node

The Decentralized Computation Node for The Chiron Network

1. Installation

  1. Python Dependencies pip3 install -r requirements.txt
  2. Gunicorn apt install gunicorn3

2. Running the code

2.1 http

sudo gunicorn3 app:app --workers 3 --bind 0.0.0.0:80 --log-file app.log --access-logfile access.log --log-level DEBUG &

2.2 https

sudo gunicorn3 --workers 3 --certfile '/etc/letsencrypt/live/sentinel-node1.anudit.dev/fullchain.pem' --keyfile '/etc/letsencrypt/live/sentinel-node1.anudit.dev/privkey.pem' --log-file app.log --access-logfile access.log --log-level DEBUG -b 0.0.0.0:443 app:app &

3. Code Linting

pylint --rcfile=pylintrc app.py

Releases

No releases published

Packages

No packages published

Languages