Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
finesse
pykat
Commits
df71ede4
Commit
df71ede4
authored
Aug 01, 2013
by
Daniel Brown
Browse files
moving web interface init to after git pulls of repos
parent
ddac2012
Changes
1
Hide whitespace changes
Inline
Side-by-side
pykat/testing/web_server.py
View file @
df71ede4
...
...
@@ -27,9 +27,6 @@ def start(instance_path,port=5000, debug=True, ip="0.0.0.0", git_bin="/usr/bin/g
print
app
.
instance_path
,
instance_path
raise
Exception
(
"Instance path of Flask app didn't match the requested value"
)
# load up the actual interface code
import
pykat.testing.web.web_interface
# need local copy of src
if
not
os
.
path
.
exists
(
os
.
path
.
join
(
app
.
instance_path
,
"finesse_src"
)):
print
"finesse src folder didn't exist, cloning now..."
...
...
@@ -44,6 +41,9 @@ def start(instance_path,port=5000, debug=True, ip="0.0.0.0", git_bin="/usr/bin/g
print
"finesse test folder didn't exist, cloning now..."
utils
.
git
([
"clone"
,
"git://gitmaster.atlas.aei.uni-hannover.de/finesse/test.git"
,
"finesse_test"
])
# load up the actual interface code
import
pykat.testing.web.web_interface
app
.
secret_key
=
os
.
urandom
(
24
)
app
.
run
(
debug
=
debug
,
port
=
int
(
port
),
host
=
ip
,
use_reloader
=
False
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment