-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathINSTALL
54 lines (39 loc) · 1.8 KB
/
INSTALL
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
Development Installation
========================
To get a development installation of prosoda which reflects all changes you
make in the code, run:
python setup.py develop --user
After making sure that $HOME/.local/bin is in the PATH, you should have a
prosoda executable on the command line. Type
prosoda --help
for more information.
Database Setup
--------------
Prosoda requires a MySQL dabase which is already pre-configured with the
SQL Schema specified in the 'bugzilla' repository in the file
DataModel/quantarchSchema.sql. The access credentials and name of the
database is configurable in prosoda.conf
To run the integration tests, a copy of the database with the
default name 'quantarch_testing' is also suggested. The access for the
testing database is configurable in prosoda_testing.conf.
Running the REST DB service
---------------------------
Before running prosoda and the prosoda integration tests, you need to make
sure that the prosoda REST DB service is running and using the same
prosoda.conf than prosoda. Currently, the REST service is maintained
in the 'webui' repository. To run it, change to the subdirectory node.js and
run:
node prosoda_rest_api.js <path/to/my/prosoda.conf>
For integration tests, a REST service using the same prosoda.conf than prosoda
needs to be run. Note that by default, the prosoda test command will use
prosoda_testing.conf.
Setting up shiny-server
-----------------------
To generate a self-contained shiny-server-pack.tar.gz file, run
bash shiny-server-pack.sh
If you are not on a PC directly connected to the internet, you can use a
pre-built version using wget, e.g. from
wget http://www.ebke.org/shiny-server-pack4.tar.gz
In this case you have to untar the pack into the prosoda project directory.
Now the shiny server can be started with
./shiny-server.sh