Added ZeroBundle install method for windows, ZeroName site downloaded on startup, updater fix

This commit is contained in:
HelloZeroNet 2015-04-09 22:20:33 +02:00
parent 67783bd494
commit 18c4f61078
3 changed files with 15 additions and 2 deletions

View File

@ -54,12 +54,22 @@ Decentralized websites using Bitcoin crypto and the BitTorrent network
### Windows
* [Download ZeroBundle package](https://github.com/HelloZeroNet/ZeroBundle/releases/download/0.1.0/ZeroBundle-v0.1.0.zip) that includes Python 2.7.9 and all required library
* Unpack to any directory
* Run `zeronet.cmd`
It downloads the latest version of ZeroNet then starts it automatically.
#### Alternative method for Windows by installing Python
* [Install Python 2.7](https://www.python.org/ftp/python/2.7.9/python-2.7.9.msi)
* [Install Python ZeroMQ](http://zeronet.io/files/windows/pyzmq-14.4.1.win32-py2.7.exe)
* [Install Python Greenlet](http://zeronet.io/files/windows/greenlet-0.4.5.win32-py2.7.exe)
* [Install Python Gevent](http://zeronet.io/files/windows/gevent-1.0.1.win32-py2.7.exe)
* [Install Python MsgPack](http://zeronet.io/files/windows/msgpack-python-0.4.2.win32-py2.7.exe)
* Execute `start.py`
* [Download and extract ZeroNet](https://codeload.github.com/HelloZeroNet/ZeroNet/zip/master) to any directory
* Run `start.py`
### Linux

View File

@ -13,6 +13,9 @@ log = logging.getLogger("ZeronamePlugin")
class SiteManagerPlugin(object):
zeroname_address = "1Name2NXVi1RDPDgf5617UoW7xA6YrhM9F"
site_zeroname = None
def load(self):
super(SiteManagerPlugin, self).load()
self.need(self.zeroname_address) # Need ZeroName site
# Checks if its a valid address
def isAddress(self, address):

View File

@ -13,7 +13,7 @@ def main():
update.update()
# Close log files
logger = sys.modules["src.main"].logging.getLogger()
logger = sys.modules["main"].logging.getLogger()
for handler in logger.handlers[:]:
handler.flush()