diff --git a/paramecio/console.py b/paramecio/console.py index 04feb2d..8ea4a2d 100644 --- a/paramecio/console.py +++ b/paramecio/console.py @@ -17,6 +17,12 @@ def start(): parser=argparse.ArgumentParser(description='A tool for create new paramecio sites') 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) diff --git a/paramecio/settings/config.py.sample b/paramecio/settings/config.py.sample index b719544..54fd65c 100644 --- a/paramecio/settings/config.py.sample +++ b/paramecio/settings/config.py.sample @@ -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