]> Creatis software - creaToolsTools.git/blob - Install/Readme.txt
1a4a6f6d09e652141bd1f14252463aea79d4ba0c
[creaToolsTools.git] / Install / Readme.txt
1 ssh-add
2 <type your cvs password>
3 cd Install
4 cp creatools.sh_TEMPLATE creatools.sh
5
6 modify the file creatools.sh, according to your preferences, modify (only once) creatools.sh
7 vim creatools.sh
8 as follows :
9
10 -- creatools.sh ---------------------
11 creatoolsGeneration=<directory you want to generate in>
12 installPrefix=<your Install dir> or </usr/local> 
13 cvsUser=<USER>
14 docGeneration=<OFF|ON> let it to OFF!
15 buildType=<Release|Debug>
16 #sudo pwd
17 cd scripts
18 sh All.sh $creatoolsGeneration $docGeneration $cvsUser $installPrefix $buildType
19 cd .. 
20 -----------------------
21
22 sh creatools.sh
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38 //========= the following lines are let here as remainder; Forget them!=====
39
40 Automatic compilation for all the Creatools
41
42 --> WINDOWS USERS :
43 Change your CVS user in the file All.bat
44  
45 --> LINUX USERS :
46 Change your CVS user in the file cvscheckout.sh
47 Change the entry 'VTK_DIR:PATH=' of cmakemod.sh, acording to your own computer
48 Use ssh-add and give your pass-phrase (for cvs checkout)
49 Run the script as :
50 sh All.sh <nameOfTheGenerationDirectory> <BooleanForDocGeneration> <userNameForCVS> <VTKdir>  <installPrefix>
51   ex : sh All.sh /tmp/gendir OFF jpr /usr/local/lib/vtk-5.4   /home/jpr/myInsallDirectory
52  
53 sh All.sh name_of_the_directory_to_generate ON
54 (ON : to generate documentation)
55
56
57 Requirements
58
59 Donwload and install crea_Developers_tools, crea_ThirdParty_dlls, crea_ThirdParty_Libraries and VisualStudioExpress2008
60 from http://www.creatis.insa-lyon.fr/site/fr/CreatoolsDownload
61
62 Copy all the .bat files into one directoy where the tests are going to be run
63 execute All.bat
64
65 Not forget to run your ssh key with puttyAgent
66
67 All the creatools projects are downloaded from the CVS, compiled and the CTest for the dashboard is run.
68
69
70
71
72 =============Install cmake =========================
73
74 Install 
75         visualStudio
76         Putty
77         Graphviz
78         doxygen
79         TortoiseCVS
80         NSIS
81         cmake (outside of "Programs Files")
82         crea_ThirdParty_Libraries  (outside of "Programs Files")
83
84 outside of "Programs Files"
85 To avoid the probleme of: Read only
86
87
88 =============Test dashboard in local with: Windows, php, mysql
89
90
91 0)
92 Install EasyPhp outside of  "Programs Files" directory
93 avoid Read Only conflicts
94
95 1)
96 Download with svn  CDASH
97 https://www.kitware.com/svn/CDash/Release-1-6-4
98 y put it in www of your "<INSTALL_DIR>/EasyPHP" instalation
99
100 2) modify php.ini configuration
101 In EasyPHP=5.3.3/conf_files
102  php.ini
103    uncomment :  
104      extension=php_xsl.dll
105      extension=php_curl.dll