Added ZeroBundle install method for windows, ZeroName site downloaded on startup, updater fix
This commit is contained in:
parent
67783bd494
commit
18c4f61078
3 changed files with 15 additions and 2 deletions
12
README.md
12
README.md
|
@ -54,12 +54,22 @@ Decentralized websites using Bitcoin crypto and the BitTorrent network
|
||||||
|
|
||||||
### Windows
|
### 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 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 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 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 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)
|
* [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
|
### Linux
|
||||||
|
|
||||||
|
|
|
@ -13,6 +13,9 @@ log = logging.getLogger("ZeronamePlugin")
|
||||||
class SiteManagerPlugin(object):
|
class SiteManagerPlugin(object):
|
||||||
zeroname_address = "1Name2NXVi1RDPDgf5617UoW7xA6YrhM9F"
|
zeroname_address = "1Name2NXVi1RDPDgf5617UoW7xA6YrhM9F"
|
||||||
site_zeroname = None
|
site_zeroname = None
|
||||||
|
def load(self):
|
||||||
|
super(SiteManagerPlugin, self).load()
|
||||||
|
self.need(self.zeroname_address) # Need ZeroName site
|
||||||
|
|
||||||
# Checks if its a valid address
|
# Checks if its a valid address
|
||||||
def isAddress(self, address):
|
def isAddress(self, address):
|
||||||
|
|
|
@ -13,7 +13,7 @@ def main():
|
||||||
update.update()
|
update.update()
|
||||||
|
|
||||||
# Close log files
|
# Close log files
|
||||||
logger = sys.modules["src.main"].logging.getLogger()
|
logger = sys.modules["main"].logging.getLogger()
|
||||||
|
|
||||||
for handler in logger.handlers[:]:
|
for handler in logger.handlers[:]:
|
||||||
handler.flush()
|
handler.flush()
|
||||||
|
|
Loading…
Reference in a new issue