Commit 64453ac7 authored by Nathalie Rousse's avatar Nathalie Rousse
Browse files

install updating

parent b405fa18
......@@ -7,10 +7,10 @@ Installation of vle
Case of vle-1.1.3 version
=========================
.. literalinclude:: ../../../../erecord/install/install_vle_1.1.3.txt
.. literalinclude:: ../../../../erecord/install/vle/install_vle_1.1.3.txt
Case of vle-2.0.0 version
=========================
.. literalinclude:: ../../../../erecord/install/install_vle_2.0.0.txt
.. literalinclude:: ../../../../erecord/install/vle/install_vle_2.0.0.txt
......@@ -4,15 +4,15 @@
Installation of models repositories (vle packages)
==================================================
.. literalinclude:: ../../../../erecord/install/install_vle_repositories_notes.txt
.. literalinclude:: ../../../../erecord/install/vle/install_vle_repositories_notes.txt
Case of vle-1.1.3 version
=========================
.. literalinclude:: ../../../../erecord/install/install_vle_1.1.3_repositories.txt
.. literalinclude:: ../../../../erecord/install/vle/install_vle_1.1.3_repositories.txt
Case of vle-2.0.0 version
=========================
.. literalinclude:: ../../../../erecord/install/install_vle_2.0.0_repositories.txt
.. literalinclude:: ../../../../erecord/install/vle/install_vle_2.0.0_repositories.txt
......@@ -133,7 +133,7 @@ responsedata = fromJSON(res)
</div>
<br>
<p align=center><i><a href="http://147.100.164.34/docs/erecord/model_user.pdf" target="_blank">Panorama plus complet des utilisations possibles</a></i></p>
<p align=center><i><a href="http://147.100.179.168/docs/erecord/model_user.pdf" target="_blank">Panorama plus complet des utilisations possibles</a></i></p>
</body>
......
......@@ -26,7 +26,7 @@ Copy of erecord source code
git clone https://forgemia.inra.fr/record/recordweb.git
=> erecord source code is recordweb/vle-x/trunk/erecord
- copy (or link) erecord to /opt/erecord
- copy (or link) erecord as /opt/erecord
Notes :
- /opt/erecord/factory and /opt/erecord/repositories are empty at this stage.
......@@ -75,6 +75,8 @@ erecord software configuration
- into /opt/erecord/erecord/apps/erecord_cmn/configs/config.py
for ONLINEDOC_*
- into /opt/erecord/erecord/apps/erecord_cmn/templates/erecord_cmn/index.html
- into /opt/erecord/docs/source/devel/design/webapi/include/online_*.rst
(commands, if 'erecord.toulouse.inra.fr' has to be replaced by
......@@ -156,11 +158,11 @@ Notes
- Installation remaining to be done :
- vle environment (several vle versions, models repositories, models,
simulators) : see /opt/erecord/erecord/install/install_vle.txt
simulators) : see /opt/erecord/erecord/install/vle/install_vle.txt
- To generate/use simulators HTML home pages : modify
/opt/erecord/erecord/docs/vpzpages/build_vpzpages.py (127.0.0.1 address)
and see /opt/erecord/erecord/install/install_vpz_html_home_pages.txt
and see /opt/erecord/erecord/install/prod/install_vpz_html_home_pages.txt
*******************************************************************************
......@@ -53,7 +53,7 @@ Copy of erecord source code
git clone https://forgemia.inra.fr/record/recordweb.git
=> erecord source code is recordweb/vle-x/trunk/erecord
- copy erecord to /opt/erecord
- copy erecord as /opt/erecord
Notes :
- /opt/erecord/factory and /opt/erecord/repositories are empty at this stage.
......@@ -104,6 +104,8 @@ erecord software configuration
- into /opt/erecord/erecord/apps/erecord_cmn/configs/config.py
for ONLINEDOC_*
- into /opt/erecord/erecord/apps/erecord_cmn/templates/erecord_cmn/index.html
- into /opt/erecord/docs/source/devel/design/webapi/include/online_*.rst
Note : commands, if '127.0.0.1' had to be replaced by
......@@ -241,9 +243,9 @@ Notes
- Installation remaining to be done :
- vle environment (several vle versions, models repositories, models,
simulators) : see /opt/erecord/erecord/install/install_vle.txt
simulators) : see /opt/erecord/erecord/install/vle/install_vle.txt
- simulators HTML home pages : see
/opt/erecord/erecord/install/install_vpz_html_home_pages.txt
/opt/erecord/erecord/install/prod/install_vpz_html_home_pages.txt
*******************************************************************************
......@@ -9,7 +9,8 @@ Notes
Some rules about models repositories :
see /opt/erecord/erecord/install/install_vle_notes.txt
see /opt/erecord/erecord/install/install_vle_repositories_notes.txt
*******************************************************************************
Install vle
......
......@@ -3,16 +3,36 @@
Case of vle-1.1.3 version
Case of Ubuntu 16.04
Case of Debian 9.5 (Stretch)
*******************************************************************************
"RENAME" erecord path as /opt/erecord, for example :
ln -s /home/nrousse/workspace_git/DEVELOPPEMENT_WEB/recordweb/vle-x/trunk/erecord /opt/erecord
"Rename" erecord path as /opt/erecord, if erecord is installed somewhere else
(ln -s 'erecord path' /opt/erecord).
INSTALL vle-1.1.3 and its dependencies
======================================
* Dependencies (Ubuntu 16.04 case) : (nothing more than for vle-2.0.0)
* Dependencies :
- Ubuntu 16.04 case (to be updated) :
sudo apt-get update
sudo apt-get install curl libxml2-dev libboost-dev cmake pkg-config g++
- Debian 9.5 (Stretch) case :
sudo apt-get update
sudo apt-get install curl libxml2-dev libboost-dev cmake pkg-config g++
sudo apt-get install libarchive-dev libglibmm-2.4-dev libxml2
sudo apt-get install libcairomm-1.0-dev
sudo apt-get install libboost-date-time-dev libboost-filesystem-dev
sudo apt-get install libboost-test-dev libboost-regex-dev
sudo apt-get install libboost-program-options-dev libboost-thread-dev
sudo apt-get install libboost-mpi-dev libboost-serialization-dev
sudo apt-get install libgtkmm-2.4-dev
* VLE :
......@@ -22,7 +42,9 @@ INSTALL vle-1.1.3 and its dependencies
cd /opt/erecord/factory/install/vle-1.1.3
git clone https://github.com/vle-forge/vle.git
cd vle
git checkout -b v1.1.3 v1.1.3
##git checkout -b v1.1.3 v1.1.3
git branch -av
git checkout master1.1
- Build the code :
......@@ -31,12 +53,16 @@ INSTALL vle-1.1.3 and its dependencies
mkdir build && cd build
mkdir /opt/erecord/factory/install/usr_1.1.3
cmake -DWITH_GTKSOURCEVIEW=OFF -DWITH_GTK=OFF -DWITH_CAIRO=ON \
cmake -DWITH_GTKSOURCEVIEW=OFF -DWITH_GTK=ON -DWITH_CAIRO=ON \
-DWITH_MPI=OFF \
-DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/opt/erecord/factory/install/usr_1.1.3 ..
make
make install
* Control
source /opt/erecord/erecord/install/vle_1.1.3_precmd.sh ; vle --version
*******************************************************************************
......@@ -6,8 +6,8 @@
*******************************************************************************
"RENAME" erecord path as /opt/erecord, for example :
ln -s /home/nrousse/workspace_git/DEVELOPPEMENT_WEB/recordweb/vle-x/trunk/erecord /opt/erecord
"Rename" erecord path as /opt/erecord, if erecord is installed somewhere else
(ln -s 'erecord path' /opt/erecord).
The install of some public models repositories are described here, as examples
so that you can delivery your own models repositories under
......@@ -15,27 +15,29 @@ so that you can delivery your own models repositories under
/opt/erecord/repositories.
'vle' models repository
=======================
*******************************************************************************
'vle' models repository
*******************************************************************************
Containing :
- vle packages
- vle packages
- erecord package
source /opt/erecord/erecord/install/vle_1.1.3_precmd.sh ; vle --version
Build vle folder
----------------
================
mkdir /opt/erecord/repositories/vle-1.1.3/vle
export VLE_HOME=/opt/erecord/repositories/vle-1.1.3/vle
vle --restart
Download and build source code
------------------------------
==============================
mkdir /opt/erecord/factory/install/REPOSITORIES_deliveries/vle-1.1.3/vle
- vle packages :
vle packages
------------
cd /opt/erecord/factory/install/REPOSITORIES_deliveries/vle-1.1.3/vle
mkdir packages ; cd packages
......@@ -58,46 +60,55 @@ Containing :
vle -P vle.extension.petrinet configure build
vle -P ext.muparser configure build
vle -P vle.forrester configure build
vle -P vle.examples configure build
- erecord package (delivered into erecord source code) :
erecord package (delivered into erecord source code)
----------------------------------------------------
cd /opt/erecord/repositories/deliveries/vle-1.1.3
vle -P erecord configure build
'recordb' models repository
===========================
*******************************************************************************
'recordb' models repository
*******************************************************************************
Containing :
- some vle packages
- erecord package
- recordb packages
- erecord package
- recordb packages
source /opt/erecord/erecord/install/vle_1.1.3_precmd.sh ; vle --version
Build recordb folder
--------------------
====================
mkdir /opt/erecord/repositories/vle-1.1.3/recordb
export VLE_HOME=/opt/erecord/repositories/vle-1.1.3/recordb
vle --restart
Download and build source code
------------------------------
==============================
mkdir /opt/erecord/factory/install/REPOSITORIES_deliveries/vle-1.1.3/recordb
- vle packages :
vle packages
------------
do the same as for vle packages of 'vle' models repository with
cd /opt/erecord/factory/install/REPOSITORIES_deliveries/vle-1.1.3/recordb
- erecord package :
erecord package
---------------
do the same as for erecord of 'vle' models repository
- recordb packages :
recordb packages
----------------
cd /opt/erecord/factory/install/REPOSITORIES_deliveries/vle-1.1.3/recordb
Note : recordb/mulcyber --> now RECORD/forgemia
git clone git+ssh://rousse@mulcyber.toulouse.inra.fr//var/lib/gforge/chroot/scmrepos/git/recordb/recordb.git
cd recordb/pkgs
git clone https://forgemia.inra.fr/record/RECORD.git
cd RECORD
git branch -av
git checkout master1.1
cd pkgs
vle -P tester configure build
vle -P meteo configure build
vle -P wwdm configure build
......@@ -111,7 +122,6 @@ Note : recordb/mulcyber --> now RECORD/forgemia
vle -P gluePhysic configure build
vle -P LotkaVolterra configure build
vle -P DateTime configure build
vle -P RinsideGVLE configure build
vle -P record.eigen configure build
vle -P WACSgen configure build
vle -P Multiformalism configure build
......@@ -144,6 +154,7 @@ Note : recordb/mulcyber --> now RECORD/forgemia
vle -P record.meteo_test configure build
vle -P record.optim configure build
vle -P record.optim_test configure build
vle -P RinsideGVLE configure build
vle -P rvleSimScript configure build
vle -P spudgro configure build
vle -P UseCppLib configure build
......@@ -156,8 +167,9 @@ Note : recordb/mulcyber --> now RECORD/forgemia
vle -P wheatpest_V8 configure build
vle -P 2CVdt configure build
See also
========
*******************************************************************************
See also
*******************************************************************************
/opt/erecord/factory/install/REPOSITORIES_deliveries/vle-1.1.3/*/README
......
......@@ -4,22 +4,37 @@
Case of vle-2.0.0 version
Case of Ubuntu 16.04
Case of Debian 9.5 (Stretch)
*******************************************************************************
"RENAME" erecord path as /opt/erecord, for example :
ln -s /home/nrousse/workspace_git/DEVELOPPEMENT_WEB/recordweb/vle-x/trunk/erecord /opt/erecord
"Rename" erecord path as /opt/erecord, if erecord is installed somewhere else
(ln -s 'erecord path' /opt/erecord).
INSTALL vle-2.0.0 and its dependencies
======================================
...Following http://www.vle-project.org/download/linux/
[Following "POSIX installation" at http://www.vle-project.org/download/linux]
* Dependencies :
- Ubuntu 16.04 case (to be updated) :
sudo apt-get update
sudo apt-get install curl libxml2-dev libboost-dev cmake pkg-config g++
* Dependencies : Boost (...using mpi)
- Debian 9.5 (Stretch) case :
- Install dependencies (Ubuntu 16.04 case) :
sudo apt-get update
sudo apt-get install curl libxml2-dev libboost-dev cmake pkg-config g++
sudo apt-get install libarchive-dev libglibmm-2.4-dev libxml2
sudo apt-get install libcairomm-1.0-dev
sudo apt-get install libboost-date-time-dev libboost-filesystem-dev
sudo apt-get install libboost-test-dev libboost-regex-dev
sudo apt-get install libboost-program-options-dev libboost-thread-dev
sudo apt-get install qt5-default qttools5-dev libqt5svg5-dev
* VLE :
......@@ -38,7 +53,7 @@ INSTALL vle-2.0.0 and its dependencies
cmake -DCMAKE_INSTALL_PREFIX=/opt/erecord/factory/install/usr_2.0.0 \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DWITH_CVLE=OFF -DWITH_GVLE=OFF ..
-DWITH_CVLE=ON -DWITH_GVLE=ON ..
#cmake -DCMAKE_INSTALL_PREFIX=/opt/erecord/factory/install/usr_2.0.0 \
#-DCMAKE_BUILD_TYPE=RelWithDebInfo \
......@@ -50,7 +65,11 @@ INSTALL vle-2.0.0 and its dependencies
make -j4
make install
make test
#make test
* Control
source /opt/erecord/erecord/install/vle_2.0.0_precmd.sh ; vle --version
*******************************************************************************
......@@ -6,8 +6,8 @@
*******************************************************************************
"RENAME" erecord path as /opt/erecord, for example :
ln -s /home/nrousse/workspace_git/DEVELOPPEMENT_WEB/recordweb/vle-x/trunk/erecord /opt/erecord
"Rename" erecord path as /opt/erecord, if erecord is installed somewhere else
(ln -s 'erecord path' /opt/erecord).
The install of some public models repositories are described here, as examples
so that you can delivery your own models repositories under
......
<VirtualHost *:8000>
ServerAdmin webmaster@localhost
# ServerName erecord.toulouse.inra.fr
ServerName 147.100.179.168
ServerName erecord.toulouse.inra.fr
ErrorLog ${APACHE_LOG_DIR}/error.log
......
<VirtualHost *:8000>
ServerAdmin webmaster@localhost
# ServerName erecord.toulouse.inra.fr
ServerName 147.100.179.168
ServerName erecord.toulouse.inra.fr
ErrorLog ${APACHE_LOG_DIR}/error.log
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment