Fixes in regular expressions
This commit is contained in:
parent
c5ed70e5ca
commit
f4199d5ad3
4 changed files with 15 additions and 13 deletions
|
|
@ -41,7 +41,7 @@ def start():
|
|||
|
||||
parser.add_argument('--symlink', help='Set if create direct symlink to paramecio in new site', action='store_true')
|
||||
|
||||
parser.add_argument('--tests', help='Create a symlink to tests for check into paramecio site', action='store_true')
|
||||
#parser.add_argument('--tests', help='Create a symlink to tests for check into paramecio site', action='store_true')
|
||||
|
||||
# Options for deploy
|
||||
|
||||
|
|
@ -49,9 +49,9 @@ 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('--host', help='The host ip or domain where the app is binded', required=False)
|
||||
|
||||
parser.add_argument('--port', help='Change the default port 8080 to other number. Use 80 is not recommended, use 80 for the proxy server how nginx or apache', required=False)
|
||||
#parser.add_argument('--port', help='Change the default port 8080 to other number. Use 80 is not recommended, use 80 for the proxy server how nginx or apache', required=False)
|
||||
|
||||
args=parser.parse_args()
|
||||
|
||||
|
|
@ -106,13 +106,15 @@ def start():
|
|||
|
||||
except:
|
||||
print('Error: cannot symlink paramecio in new site')
|
||||
|
||||
|
||||
"""
|
||||
if args.tests==True:
|
||||
try:
|
||||
os.symlink(workdir, args.path+'/paramecio2/', True)
|
||||
|
||||
except:
|
||||
print('Error: cannot symlink paramecio2 in new site')
|
||||
"""
|
||||
|
||||
with open(path_settings+'/config.py', 'r') as f:
|
||||
conf=f.read()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue