The Virtual Imaging Platform is a web portal for pipeline execution on distributed systems. An instance of this portal deployed on the European Grid Infrastructure is accessible at https://vip.creatis.insa-lyon.fr.
The VIP logo was designed by Max Langer under the CC BY-NC-SA license.
- Your Git username and email should be set to your First-Last name and actual email:
git config --global user.name "Jeanne Tartempion" # not "tartempion" or "jtartempion" or "root"
git config --global user.email "[email protected]" # not "root@localhost"
-
Developments are made in forks from the base repository. Developments lead to pull-requests that are merged by the owner(s) of the base repository.
-
Starting from release 1.15, we adopt the branching model described here.
-
When working on a new feature:
- In your fork, create a new feature branch from the development branch:
git checkout -b new_feature develop
- You may name your branch anything except
master,develop,release-*, orhotfix-*.
- When feature development is finished:
- Push your commits to Github (your fork).
- Make a pull request to merge feature branch (in your fork) to development branch (in the base repository).
You can follow the instruction here
You can contact us at [email protected] for precisions.
It is possible to launch a local vip instance in a tomcat on a linux machine. This is only useful for testing purposes as most of the features are simulated and many are still to be implemented and do not work yet. Here are the instructions to configure a local vip instance :
- create a empty folder that will contain all the configuration files and simulated data.
/path/to/vip/local/folderwill be its path used in the next instructions - unzip the
local-config.ziparchive available invip-local/src/main/resourcesin/path/to/vip/local/folder. This should contain 3.conffiles - create a
$HOME/.vipdirectory and a$HOME/.vip/local-config-folder.propertiesfile - put
vipConfigFolder = /path/to/vip/local/folderin the$HOME/.vip/local-config-folder.propertiesfile
Then, install vip in your local tomcat :
- Build the vip-local war with
mvn clean packageat the root of theVIP-portalproject. - Put the
vip-portal/target/vip-portal-[...]-local.warfile in the$TOMCAT_HOME/webappsdirectory - Add the folowing lines in
$TOMCAT_HOME/conf/context.xml(database jndi configuration), and editpath/to/vip/local/folder/vipto the real path inurl
<Resource name="jdbc/vip" auth="Container" type="javax.sql.DataSource"
username="sa"
password=""
driverClassName="org.h2.Driver"
description="VIP local h2 Connection"
url="jdbc:h2:/path/to/vip/local/folder/vip"
maxActive="100"
maxIdle="50" />
- Create or adapt the
$TOMCAT_HOME/bin/setenv.shfile with these lines (editpath/to/vip/local/folder/vipto the real path) :
export CATALINA_OPTS="$CATALINA_OPTS -Dspring.profiles.active=local,config-file,jndi-db"
export CATALINA_OPTS="$CATALINA_OPTS -DvipConfigFolder=/path/to/vip/local/folder"
- That's it, start tomcat (
bin/startup.sh). Access vip onlocalhost:8080/vip-portal-[...]-local(adapt with the war name and your tomcat host/port configuration)
- The default admin email/password is
[email protected]/localAdminPassword. - all is not working perfectly yet, expect to see some error messages. The home page, files transfers and execution launchs shoud work, but application imports and the page with execution details are not implemented at the moment.
- vip do not send email but logs them
- at the moment, logging is done in the
$HOME/.vip/vip.logfile