forked from caoyukun0430/pm4py-ws
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathINSTALL.txt
46 lines (19 loc) · 976 Bytes
/
INSTALL.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
HOW TO INSTALL FROM PIP:
pip install -U pm4pyws
Then, the script "main.py" could be launched with pre-defined log
In this case, the databases "event_logs.db" and "users.db" should be there with the pre-defined logs,
contained in the "logs" folder.
HOW TO BUILD ON SOURCES:
First of all install ANGULAR:
npm install -g @angular/cli
To install the required NPM dependencies (also for building) enter the webapp/ folder and use the following command:
npm install
On Linux machines, also the following could be necessary:
sudo npm install --save-dev --unsafe-perm node-sass
!!!!! Remember to change the IP address used by the web interface inside pm4py-service.service.ts !!!!!!
To compile the web interface, enter the webapp/ folder and use the following command
(it requires Node.JS 10, and Angular CLI):
ng build --prod
To run the web services and the web interface, use the command:
python main.py
And reach the URL http://localhost:5000/index.html