mirror of
https://github.com/PurpleI2P/pyseeder
synced 2025-02-06 12:04:13 +00:00
Instructions updated + requirements fix
This commit is contained in:
parent
d7db5b1640
commit
481790bc65
32
INSTALL.md
Normal file
32
INSTALL.md
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
Installation
|
||||||
|
============
|
||||||
|
|
||||||
|
Requirements: python3 and python cryptography package
|
||||||
|
|
||||||
|
Example for Ubuntu/Debian
|
||||||
|
-------------------------
|
||||||
|
|
||||||
|
|
||||||
|
Basic python packages & packages for building python cryptography package:
|
||||||
|
|
||||||
|
sudo apt-get install python3 python3-pip python3-virtualenv build-essential libssl-dev libffi-dev python-dev
|
||||||
|
|
||||||
|
|
||||||
|
Clone repo:
|
||||||
|
|
||||||
|
git clone https://github.com/PurpleI2P/pyseeder.git
|
||||||
|
|
||||||
|
|
||||||
|
Configure new python virtual environment:
|
||||||
|
|
||||||
|
cd pyseeder
|
||||||
|
virtualenv --python=python3 venv
|
||||||
|
. venv/bin/activate
|
||||||
|
pip3 install -r requirements.txt
|
||||||
|
|
||||||
|
|
||||||
|
Thats it! Next time you will need to run pyseeder, don't forget to activate
|
||||||
|
python virtual environment as followed:
|
||||||
|
|
||||||
|
. venv/bin/activate
|
||||||
|
|
17
README.md
17
README.md
@ -7,17 +7,13 @@ Reseed data managment tools for I2P
|
|||||||
* Make reseed data files (su3)
|
* Make reseed data files (su3)
|
||||||
* Download su3 files from official servers for mirroring
|
* Download su3 files from official servers for mirroring
|
||||||
* Upload reseed data to different places (with plugins)
|
* Upload reseed data to different places (with plugins)
|
||||||
|
* Run HTTPS reseed server
|
||||||
|
|
||||||
Reseed transports are implemented so that users can bootstrap their I2P nodes
|
Reseed transports are implemented so that users can bootstrap their I2P nodes
|
||||||
without needing to connect to "official" I2P reseeds. This makes I2P more
|
without needing to connect to "official" I2P reseeds. This makes I2P more
|
||||||
invisible for firewalls.
|
invisible for firewalls.
|
||||||
|
|
||||||
|
[Installation instructions](INSTALL.md)
|
||||||
Install requirements
|
|
||||||
--------------------
|
|
||||||
|
|
||||||
# apt-get install python3 python3-pip
|
|
||||||
# pip3 install -r requirements.txt
|
|
||||||
|
|
||||||
|
|
||||||
Usage
|
Usage
|
||||||
@ -68,3 +64,12 @@ Upload su3 file with pluggable transports
|
|||||||
|
|
||||||
All parameters are optional. Copy file transports.ini.example to
|
All parameters are optional. Copy file transports.ini.example to
|
||||||
transports.ini. Edit your settings in this new file.
|
transports.ini. Edit your settings in this new file.
|
||||||
|
|
||||||
|
|
||||||
|
Run HTTPS reseed server
|
||||||
|
-----------------------
|
||||||
|
|
||||||
|
$ python3 pyseeder.py serve --port 8443 --host 127.0.0.1 --private-key data/priv_key.pem --cert data/user_at_mail.i2p.crt --file output/i2pseeds.su3
|
||||||
|
|
||||||
|
Note: this server is fine for testing, but for "production" environments please
|
||||||
|
use nginx webserver.
|
||||||
|
@ -1,6 +1 @@
|
|||||||
cffi==1.7.0
|
cryptography>=1.4
|
||||||
cryptography==1.4
|
|
||||||
idna==2.1
|
|
||||||
pyasn1==0.1.9
|
|
||||||
pycparser==2.14
|
|
||||||
six==1.10.0
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user