1
0
mirror of https://github.com/r4sas/Niflheim-api synced 2025-03-13 05:51:45 +00:00

instructions for installation

This commit is contained in:
yakamok 2018-11-21 18:05:08 +01:00 committed by GitHub
parent 09d030b08e
commit 833800021e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,8 +2,23 @@
This server collects dht views from volunteer nodes from all over the network to get a better picture of the network as a whole.
Make sure to setup a database with postgresql first and the add the dbname and so on to the vserv.py config section.
##Install
This install assumes your using Linux.
First install postgres and setup a database & username called yggindex and a password of your choice.
Once you have done this open vserv.py and edit "DB_PASSWORD" to use the password you set, also change DB_host if your running the Database on another machine:
DB_PASSWORD = "yourpassword"<edit
DB_USER = "yggindex"
DB_NAME = "yggindex"
DB_HOST = "localhost"
Once you have done this you will need to start vserv.py with the option gentables to create the needed tables:
python vserv.py gentables
After this stop Vserv.py and start it again with out the option gentables and that should be it running now ready to accept views from other nodes using send-view.py
## Todo