mirror of
https://github.com/krateng/maloja.git
synced 2023-08-10 21:12:55 +03:00
Install script shows custom port
This commit is contained in:
parent
2f30157b04
commit
e78373fb16
8
maloja
8
maloja
@ -192,10 +192,12 @@ def start():
|
||||
p = subprocess.Popen(["python3","server.py"],stdout=subprocess.DEVNULL,stderr=subprocess.DEVNULL)
|
||||
print(green("Maloja started!") + " PID: " + str(p.pid))
|
||||
|
||||
print("Visit your server address (Port 42010) to see your web interface. Visit /setup to get started.")
|
||||
port = settings.get_settings("WEB_PORT")
|
||||
|
||||
print("Visit your server address (Port " + str(port) + ") to see your web interface. Visit /setup to get started.")
|
||||
print("If you're installing this on your local machine, these links should get you there:")
|
||||
print("\t" + blue("http://localhost:42010"))
|
||||
print("\t" + blue("http://localhost:42010/setup"))
|
||||
print("\t" + blue("http://localhost:" + str(port)))
|
||||
print("\t" + blue("http://localhost:" + str(port) + "/setup"))
|
||||
return True
|
||||
#else:
|
||||
# os.chdir("/opt/maloja/")
|
||||
|
@ -18,3 +18,5 @@ replaceartist Sir James Galway Viggo Mortensen And Renée Fleming Album Version
|
||||
notanartist In Dreams
|
||||
notanartist Aniron Theme For Aragorn And Arwen
|
||||
notanartist Lament for Gandalf
|
||||
replaceartist James Galway Sir James Galway
|
||||
replaceartist Ben del Maestro Ben Del Maestro
|
||||
|
Can't render this file because it has a wrong number of fields in line 4.
|
Loading…
Reference in New Issue
Block a user