1
1
Fork 0
mirror of https://github.com/oxen-io/lokinet synced 2023-12-14 06:53:00 +01:00
lokinet/contrib/py/pylokinet/readme.md

27 lines
759 B
Markdown
Raw Normal View History

2019-01-21 13:05:45 +01:00
# pylokinet
2019-01-17 19:43:07 +01:00
2019-01-21 13:05:45 +01:00
lokinet with python 3
2019-01-17 19:43:07 +01:00
# python3 setup.py install
## bootserv
bootserv is a bootstrap server for accepting and serving RCs
$ gunicorn -b 0.0.0.0:8000 pylokinet.bootserv:app
## pylokinet instance
obtain `liblokinet-shared.so` from a lokinet build
run (root):
2019-01-17 19:45:42 +01:00
# export LOKINET_ROOT=/tmp/lokinet-instance/
2019-01-17 19:43:07 +01:00
# export LOKINET_LIB=/path/to/liblokinet-shared.so
# export LOKINET_BOOTSTRAP_URL=http://bootserv.ip.address.here:8000/bootstrap.signed
# export LOKINET_PING_URL=http://bootserv.ip.address.here:8000/ping
# export LOKINET_SUBMIT_URL=http://bootserv.ip.address.here:8000/
# export LOKINET_IP=public.ip.goes.here
# export LOKINET_PORT=1090
# export LOKINET_IFNAME=eth0
2019-01-21 17:57:12 +01:00
# python3 -m pylokinet