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