diff --git a/paramecio2/config.py.sample b/paramecio2/config.py.sample index bd1ae5b..0cdd264 100644 --- a/paramecio2/config.py.sample +++ b/paramecio2/config.py.sample @@ -20,7 +20,7 @@ application_root='/' yes_static=True -domain_url='http://127.0.0.1:5000' +domain_url='http://localhost:5000' #media_folder='/media/' diff --git a/paramecio2/console.py b/paramecio2/console.py index 70bdd35..df0ec9d 100644 --- a/paramecio2/console.py +++ b/paramecio2/console.py @@ -26,7 +26,7 @@ def start(): # Options for deploy - parser.add_argument('--url', help='The http/https base url of the real proxy server. Example: https://www.exampledomain.com, default is http://localhost:8080', required=False) + parser.add_argument('--url', help='The http/https base url of the real proxy server. Example: https://www.exampledomain.com, default is http://localhost:5000', required=False) parser.add_argument('--folder', help='If you deploy in a subdirectory, set it, without beggining and ending slashes', required=False) @@ -172,11 +172,11 @@ def start(): conf=conf.replace("application_root='/'", "application_root='"+base_url+"'") if args.url==None: - args.url='http://127.0.0.1:5000' + args.url='http://localhost:5000' domain_url=args.url - conf=conf.replace("domain_url='http://127.0.0.1:5000'", "domain_url='"+domain_url+"'") + conf=conf.replace("domain_url='http://localhost:5000'", "domain_url='"+domain_url+"'") #domain_url='http://localhost:8080' diff --git a/setup.py b/setup.py index ee74a0d..7e7ad66 100644 --- a/setup.py +++ b/setup.py @@ -23,7 +23,7 @@ setup(name='paramecio', include_package_data=True, install_requires=['flask', 'pymysql', 'sqlalchemy', 'colorama'], entry_points={'console_scripts': [ - 'paramecio2 = paramecio2.console:start', + 'paramecio2 = paramecio2.console:start', 'paramecio2db = paramecio2.libraries.db.dbadmin:start', ]}, license='GPLV3', platforms = 'any',