Merge e05bc8ab9a
into a977feec33
This commit is contained in:
commit
78f786188e
|
@ -89,6 +89,11 @@ def siteCreate():
|
|||
os.mkdir("data/%s" % address)
|
||||
open("data/%s/index.html" % address, "w").write("Hello %s!" % address)
|
||||
|
||||
#start:dydx
|
||||
logging.info("Saving address and private ket to data/mysite.txt...")
|
||||
open("data/mysite.txt", "a+").write("address: %s\n private key: %s\n\n" % (address, privatekey))
|
||||
#end:dydx
|
||||
|
||||
logging.info("Creating content.json...")
|
||||
site = Site(address)
|
||||
site.signContent(privatekey)
|
||||
|
|
Loading…
Reference in New Issue