Browse Source

Show URL example

main
Luke Murphy 4 years ago
parent
commit
5217cf2522
No known key found for this signature in database GPG Key ID: 5E2EF5A63E3718CC
  1. 2
      README.md
  2. 4
      etherpump/commands/init.py

2
README.md

@ -121,7 +121,7 @@ $ etherpump init
The program then interactively asks some questions: The program then interactively asks some questions:
> Please type the URL of the etherpad: > Please type the URL of the etherpad (e.g. https://pad.vvvvvvaria.org):
> https://pad.vvvvvvaria.org/ > https://pad.vvvvvvaria.org/
The APIKEY is the contents of the file APIKEY.txt in the etherpad folder. The APIKEY is the contents of the file APIKEY.txt in the etherpad folder.

4
etherpump/commands/init.py

@ -107,7 +107,9 @@ def main(args):
if apiurl: if apiurl:
# print ("Got APIURL: {0}".format(apiurl)) # print ("Got APIURL: {0}".format(apiurl))
break break
apiurl = input("Please type the URL of the etherpad: ").strip() apiurl = input(
"Please type the URL of the etherpad (e.g. https://pad.vvvvvvaria.org): "
).strip()
padinfo["apiurl"] = apiurl padinfo["apiurl"] = apiurl
apikey = args.apikey apikey = args.apikey
while True: while True:

Loading…
Cancel
Save