Skip to content
Open

PR #4

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
web: gunicorn app:app --log-file=-
10 changes: 7 additions & 3 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,13 @@ def upload():
return {"uuid1": uuids[0], "uuid2": uuids[1]}


logs_dictio["log1"] = os.path.join("SampleEventLogs&SimulatedER2021", "running-example.xes")
logs_dictio["log2"] = os.path.join("SampleEventLogs&SimulatedER2021", "Running-example-simulated.csv")
port = os.environ.get("PORT")
if port is None:
port = "80"
port = int(port)
if __name__ == "__main__":
if not os.path.exists(os.path.join("static", "temp")):
os.mkdir(os.path.join("static", "temp"))
logs_dictio["log1"] = os.path.join("SampleEventLogs&SimulatedER2021", "running-example.xes")
logs_dictio["log2"] = os.path.join("SampleEventLogs&SimulatedER2021", "Running-example-simulated.csv")
app.run(host='0.0.0.0')
app.run(port=port, threaded=True)
17 changes: 8 additions & 9 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
pyemd==0.5.1
plotly==5.3.1
matplotlib==3.4.3
pandas==1.3.3
pm4py==2.2.15
numpy==1.21.2
multiset==2.1.1
plotly==5.5.0
matplotlib==3.5.1
pandas==1.3.5
pm4py==2.2.18
numpy==1.22.0
multiset==3.0.1
pyfpgrowth==1.0
python_Levenshtein==0.12.2
seaborn==0.11.2
frozendict==2.0.6
frozendict==2.1.3
Flask==2.0.2
Flask-Cors==3.0.10


gunicorn
1 change: 1 addition & 0 deletions runtime.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
python-3.8.12
2 changes: 1 addition & 1 deletion templates/upload.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<meta name="description" content="">
<meta name="author" content="">

<title>Scenario-based Analysis of Processes</title>
<title>Interactive Business Process Comparison Using Conformance and Performance Insights - Upload Page</title>

<script type="text/javascript" src="static/jquery.min.js"></script>
<script type="text/javascript" src="static/bootstrap.min.js"></script>
Expand Down