Fixes in default config

This commit is contained in:
Antonio de la Rosa 2017-02-19 20:09:41 +01:00
parent 67401c4b5c
commit 98d0ca3e76
2 changed files with 6 additions and 3 deletions

View file

@ -30,6 +30,8 @@ def start():
parser.add_argument('--folder', help='If you deploy in a subdirectory, set it, without beggining and ending slashes', required=False)
parser.add_argument('--host', help='The host ip or domain where the app is binded', required=False)
parser.add_argument('--port', help='If you deploy for production, set it to 80 value', required=False)
parser.add_argument('--ssl', help='If the site use ssl, set it', action='store_true')
@ -147,6 +149,9 @@ def start():
conf=conf.replace("domain='localhost'", "domain='"+args.domain+"'")
if args.host==None:
args.host='localhost'
if args.port==None:
args.port=':8080'

View file

@ -61,12 +61,10 @@ session_enabled=True
cookie_name = 'paramecio.session'
domain='0.0.0.0'
domain='localhost'
domain_url='http://localhost:8080'
#Go back to beaker sessions
#Keep this variable and don't show to anybody
key_encrypt="im smoking fool"