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