X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=README.txt;h=20af5bb703102a8cd8f57045e67861088b3edd0a;hb=03c15497cf618702808b2cbaea55243c25b70698;hp=55a5d59df6db93397f1e920fed332e2b9cc15526;hpb=29f8f62b53cd66e5fa9c21f610ed58288e6ee65e;p=creaToolsTools.git diff --git a/README.txt b/README.txt index 55a5d59..20af5bb 100644 --- a/README.txt +++ b/README.txt @@ -1,4 +1,28 @@ -=== === === NEW (new way) UNIX / LINUX / MacOS users === === === +# --------------------------------------------------------------------- +# +# Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image +# pour la Santé) +# Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton +# +# This software is governed by the CeCILL-B license under French law and +# abiding by the rules of distribution of free software. You can use, +# modify and/ or redistribute the software under the terms of the CeCILL-B +# license as circulated by CEA, CNRS and INRIA at the following URL +# http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html +# or in the file LICENSE.txt. +# +# As a counterpart to the access to the source code and rights to copy, +# modify and redistribute granted by the license, users are provided only +# with a limited warranty and the software's author, the holder of the +# economic rights, and the successive licensors have only limited +# liability. +# +# The fact that you are presently reading this means that you have had +# knowledge of the CeCILL-B license and that you accept its terms. +# ------------------------------------------------------------------------ */ + + +=== === === UNIX / LINUX / MacOS users === === === 0) cd Linux 1) read the README.txt @@ -11,178 +35,17 @@ crea_Developers_tools, crea_ThirdParty_dlls, and VisualStudioExpress2008 Have a look at : http://www.creatis.insa-lyon.fr/site/fr/CreatoolsDownload -Change your CVS user in the file All.bat +Change your GIT user in the file All.bat Copy all the .bat files into one directoy where the tests are going to be run execute All.bat Do not forget to run your ssh key with puttyAgent -All the creatools projects are downloaded from the CVS, compiled and the CTest for the dashboard is run. +All the creatools projects are downloaded from the GIT, compiled and the CTest for the dashboard is run. - - - - - - -Forget the following lines ! - - - - - - - - - - - - - - -=== === === (new way) UNIX / LINUX users === === === - - -1) Make sure everything you'll need is properly installed : -crea_Developers_tools, crea_ThirdParty_Libraries - -have a look at : -http://www.creatis.insa-lyon.fr/site/fr/CreatoolsDownload -and/or : -cd Install_ThirdParty -follow the Readme.txt - -2) make sure VTK_DIR environment variable is set properly : -echo $VTK_DIR -Set it, if not OK: -export VTK_DIR=/usr/local/lib/vtk-5.4, for instance - -3) make sure LATEX_COMPILER environment variable is set properly : -echo $LATEX_COMPILER -Set it, if not OK: -export LATEX_COMPILER=/usr/bin/latex, for instance - -4) Make sure you got the last version of creaToolsTools. -cvs update -dP creaToolsTools - -a) cd Install - -b) cp configure.sh_TEMPLATE configure.sh - -c) modify (only once) the file configure.sh, according to your preferences: -vim configure.sh -as follows : --- configure.sh --------------------- -generationdir= -docgeneration= : ON / OFF -cvsUserName= -installPrefix= : /usr/local or $generationdir/creatools_install -buildType= : Release / Debug -gdcmVersion= : GDCM1 / GDCM2 -sourcesFrom= : CVS / HTML --------------------------------------- - - -d) if you choosed 'sourcesFrom=CVS' : -ssh-add - - -e) sh scripts/make.sh - -f) make sure everything is OK - -g) switch as root - -h) sh scripts/make-install.sh - - - - - - -=== === === (old way) UNIX / LINUX users === === === - -0) Make sure you are a 'sudoer'. -have a look at : ---sudo configuration-- -https://fedoraproject.org/wiki/Configuring_Sudo - -1) ssh-add - - -2) Make sure you got the last version of creaToolsTools. -cvs update -dP creaToolsTools - -3) Make sure everything you'll need is properly installed : -crea_Developers_tools, crea_ThirdParty_Libraries -have a look at : -http://www.creatis.insa-lyon.fr/site/fr/CreatoolsDownload -and/or : -cd Install_ThirdParty -follow the Readme.txt - -4) make sure VTK_DIR environment variable is set properly : -echo $VTK_DIR -Set it, if not OK: -export VTK_DIR=/usr/local/lib/vtk-5.4, for instance - -5) make sure LATEX_COMPILER environment variable is set properly : -echo $LATEX_COMPILER -Set it, if not OK: -export LATEX_COMPILER=/usr/bin/latex, for instance - -6)cd Install -cp creatools.sh_TEMPLATE creatools.sh - -7) modify the file creatools.sh, according to your preferences, modify (only once) creatools.sh -vim creatools.sh -as follows : --- creatools.sh --------------------- -creatoolsGeneration= -installPrefix= or -cvsUser= -docGeneration= let it to OFF! -buildType= -cd scripts -sh All.sh $creatoolsGeneration $docGeneration $cvsUser $installPrefix $buildType -cd .. ------------------------ - -7) Run the whole stuff : -sh creatools.sh - -8) if you performed a 'local install' (i.e : you *didn't* use installPrefix=/usr/local) -edit your .bash_profile -PATH=$PATH:/creatools_install/bin -export PATH -LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/creatools_install/lib -export LD_LIBRARY_PATH - - - - - - - - - - - - - -Forget the following lines ! - -Tools to manage the creaTools suite (build, test, submit to dashboard, package, ...) -==================================================================================== - -* ctest: -ctest scripts and instructions to perform automated build/testing and submission to creatis cdash dashboard -* windows: -windows installers of the suite and instructions to package the suite for windows. subdirs: - * creaThirdParty_dlls: - project which creates the creaThirdParty_dlls win installer (using cmake and NSIS) - * CreaTools_win32_installers: - batch installers of the suite +creaToolsTools +Version 1.0.0 +(c) CREATIS 2012