Browse Source

Instructions updated + requirements fix

pull/1/head
l-n-s 8 years ago
parent
commit
481790bc65
  1. 32
      INSTALL.md
  2. 17
      README.md
  3. 7
      requirements.txt

32
INSTALL.md

@ -0,0 +1,32 @@ @@ -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

@ -7,17 +7,13 @@ Reseed data managment tools for I2P @@ -7,17 +7,13 @@ Reseed data managment tools for I2P
* Make reseed data files (su3)
* Download su3 files from official servers for mirroring
* Upload reseed data to different places (with plugins)
* Run HTTPS reseed server
Reseed transports are implemented so that users can bootstrap their I2P nodes
without needing to connect to "official" I2P reseeds. This makes I2P more
invisible for firewalls.
Install requirements
--------------------
# apt-get install python3 python3-pip
# pip3 install -r requirements.txt
[Installation instructions](INSTALL.md)
Usage
@ -68,3 +64,12 @@ Upload su3 file with pluggable transports @@ -68,3 +64,12 @@ Upload su3 file with pluggable transports
All parameters are optional. Copy file transports.ini.example to
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.

7
requirements.txt

@ -1,6 +1 @@ @@ -1,6 +1 @@
cffi==1.7.0
cryptography==1.4
idna==2.1
pyasn1==0.1.9
pycparser==2.14
six==1.10.0
cryptography>=1.4

Loading…
Cancel
Save