Added domain configuration in config.py and new options in console.py
This commit is contained in:
parent
68f0b23a86
commit
057bfbf95d
2 changed files with 10 additions and 0 deletions
|
|
@ -18,6 +18,12 @@ def start():
|
|||
|
||||
parser.add_argument('--path', help='The path where the paramecio site is located', required=True)
|
||||
|
||||
parser.add_argument('--domain', help='The base domain for this site', required=True)
|
||||
|
||||
parser.add_argument('--folder', help='If you deploy in a subdirectory, set it', required=False)
|
||||
|
||||
parser.add_argument('--port', help='If you deploy in a not standard port, set it', required=False)
|
||||
|
||||
parser.add_argument('--modules', help='A list separated by commas with the git repos for download modules for this site', required=False)
|
||||
|
||||
parser.add_argument('--symlink', help='Set if create direct symlink to paramecio in new site', required=False, nargs='?', const='1')
|
||||
|
|
|
|||
|
|
@ -52,6 +52,10 @@ session_enabled=True
|
|||
|
||||
cookie_name = 'paramecio.session'
|
||||
|
||||
domain='localhost'
|
||||
|
||||
domain_url='http://localhost:8080'
|
||||
|
||||
#Go back to beaker sessions
|
||||
|
||||
#Keep this variable and don't show to anybody
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue