This repository has been archived by the owner on Oct 27, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
/
install-win.txt
68 lines (44 loc) · 2.12 KB
/
install-win.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
--------------------------------------
PREREQUISITES
--------------------------------------
- Git
- Python v2.7.3 is recommended. It was also tested on python 2.6. It doesn't work on python 3.
- Node v0-12-0: [http://blog.nodejs.org/2015/02/06/node-v0-12-0-stable/]. On Windows install it using the msi file. This will also install npm. Restart the system.
- Visual studio 2013
--------------------------------------
INSTALLATION PROCEDURE
--------------------------------------
To install the online analytics and ericher components, several tools have to be installed.
INSTALL OPENBLAS
Download OpenBLAS win64 with 32-bit matrix indexing from the following URL and extract it:
http://sourceforge.net/projects/openblas/files/v0.2.14/
Download: http://sourceforge.net/projects/openblas/files/v0.2.14/mingw64_dll.zip/download
Add to OpenBLAS/bin: libgcc_s_seh-1.dll, libgfortran-3.dll, libquadmath-0.dll
Add OpenBLAS/bin to your PATH environment variable
INSTALL QMINER
Type "node-gyp -v" into the terminal. If the command is not found, then type: "npm install -f node-gyp".
Type the following commands (adjust the paths appropriately):
cd workspace
git clone https://github.com/lstopar/qminer.git
cd qminer
npm install
call node-gyp clean
call node-gyp configure --nodedir="D:/work/code/cpp/node-v0.12.0" -- -DLIN_ALG_BLAS=BLAS -DLIN_ALG_LAPACKE=LAPACKE -DLIN_ALG_INCLUDE="D:/work/code/cpp/openblas/include" -DLIN_ALG_LIB="D:/work/code/cpp/openblas/lib/libopenblas.dll.a"
call node-gyp build
INSTALL STREAMSTORY
Type the following commands into the terminal:
cd workspace
git clone https://github.com/JozefStefanInstitute/StreamStory.git
cd StreamStory
npm install
INSTALL MYSQL
Download the MySQL database from the following URL: http://dev.mysql.com/downloads/windows/installer/
- Install
Type the follownig into the terminal (adjust the paths appropriately):
C:\workspace\StreamStory>type init.sql | "..\..\Program Files\MySQL\MySQL Server 5.6\bin\mysql.exe" -u root -p
--------------------------------------
RUNNING THE APPLICATION
--------------------------------------
To run the application, open the terminal and type:
cd StreamStory
run.bat