-
Notifications
You must be signed in to change notification settings - Fork 7
/
INSTALL
44 lines (35 loc) · 1.66 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
How to set up / install your own OSCAd instance:
================================================
(I) Combining the basic php backend and frontends:
( {backend/generic-php.be/}
x { frontends/genericFe-4-genricPhpBe,
frontends/tbrandedFe-4-genericPhpBe
})
------------------------------------------------
(1) generate a top directory under your web server root directory
like oscad, foscad, toscad or anthing else.
(2) copy the complete content of the selected frontend directory
into this newly generated 'toscad' directory
(3) copy the generic php backend directory into the directory
/???/toscad/fileadmin/
(4) Rename /???/toscad/fileadmin/generic-php.be as /???/toscad/fileadmin/php
(5) Change into the directory /???/toscad/fileadmin/php/
(6) Open a shell and call php ./prepare-oscad.php
(7) Call your webserver url: http.//your-domain/toscad/index.html
READY.
(8) If you want to customize the frontent, generate new html files etc.
(9) If you want to customize the backend, edit the file
/???/toscad/fileadmin/php/include-files/oscad-be-config-inc.php
(9) If you want to customize the representation of the answers,
modify /???/toscad/fileadmin/php/fileadmin/php/include-files/oscad-view-results-inc.php
(A) If you want to improve the computed answers, modify the files under
/???/toscad/fileadmin/php/fileadmin/php/fileadmin/php/master-files/
and call again ./prepare-oscad.php - as described above.
Happy Coding
----------------------------------------------------
(II) Combining the python based backend and frontends:
( {backend/basic-python.be/}
x { frontends/basicDemoFe-4-basicPythonBe,
frontends/basicTbrandedFe-4-basicPythonBe
})
TBD