Done basic-configurations page

This commit is contained in:
Richard Chien
2018-08-17 23:47:44 +08:00
parent 3e09f7457f
commit 6fcf8f89aa
3 changed files with 123 additions and 3 deletions

View File

@ -1,6 +1,8 @@
import none
import config
if __name__ == '__main__':
none.init()
none.init(config)
none.load_builtin_plugins()
none.run(host='127.0.0.1', port=8080)
none.run()

View File

@ -1,3 +1,7 @@
from none.default_config import *
HOST = '0.0.0.0'
PORT = 8080
SUPERUSERS = {12345678}
COMMAND_START.add('')