rissom / unidaplan

Sample management software for Scientists (retired)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unidaplan

What is it?

Unidaplan is a sample management software for scientists. This software is made for scientists who need to manage their samples, plan experiments and do processes on them.

It is written in Java and Javascript with Angular.js and needs a PostgreSQL database. An old outdated video on what is about, can be seen here (in german, sorry):

https://www.youtube.com/watch?v=gAOdfen3yqU

The software is free to use "as is". I will take no responsibility for data loss.

How to set it up

You need an E-Mail account, an Apache Tomcat Web Application Server and an installed PostgreSQL database. Unidaplan uses the apache.tomcat.jdbc.pool. Make sure it is installed. Please enter all information in an Context.xml file which should be placed in the WebContent/META-INF directory. The file should have the following content:

<?xml version = "1.0" encoding = "UTF-8"?>

<Context
   path = "/unidaplan"
   docBase = "unidaplan"
   crossContext = "true"
   reloadable = "true"
debug = "1">

<Resource name = "jdbc/postgres"
   auth = "Container"
   type = "javax.sql.DataSource"
   maxActive = "100"
   maxIdle = "30"
   maxWait = "10000"
   username = "theDatabaseUsername"
   password = "theDatabasePassword"
   driverClassName = "org.postgresql.Driver"
   url = "jdbc:postgresql://127.0.0.1:5432/your-database"
   factory = 'org.apache.tomcat.jdbc.pool.DataSourceFactory'
   minIdle = "10"
   initialSize = "10"
   testWhileIdle = "true"
   testOnBorrow = "true"
   testOnReturn = "false"
   validationQuery = "SELECT 1"
   validationInterval = "30000"
   timeBetweenEvictionRunsMillis = "30000"
   maxActive = "100"
   removeAbandonedTimeout = "60"
   removeAbandoned = "true"
   logAbandoned = "true"
   minEvictableIdleTimeMillis = "30000"
   jmxEnabled = "true"
/>

<Environment
   name = "smtpserver"
   value = "your.smtp.server" >
   type = "java.lang.String"/>
  
<Environment
   name = "IPAdress"
   value = "automatic"
   type = "java.lang.String"/>
  
<Environment
   name = "smtpport"
   value = "587"
   type = "java.lang.Integer"/>
  
<Environment
   name = "username"
   value = "your-username-for-email"
   type = "java.lang.String"/>
  
<Environment
   name = "password"
   value = "your-password-for-email"
   type = "java.lang.String"/>

</Context>

Also you need to initialize the database. This can be done by running the SQL scripts in the SQL directory. Go to shell and use:

psql -f definitions.sql
psql -f functions.sql
psql -f inserts.sql

You will also need to create a directory "/mnt/data-store" which is writable by the tomcat processowner for storing files.

Changing the password

The first and only user is called admin and has the password admin.

When logged in, go to menu "Admin." and select users. Then click "action"->"edit" in the row of the user "Administrator". Double-click the e-mail field and enter your e-mail. Press the button back to users at the top of the page. Click action->resend token. If everything is set up right, you should receive an e-mail which contains a link that allows you to change name and password of the admin account.

About

Sample management software for Scientists (retired)

License:Other


Languages

Language:Java 46.0%Language:JavaScript 37.0%Language:HTML 11.9%Language:SQLPL 3.0%Language:PLpgSQL 2.0%Language:CSS 0.2%Language:Io 0.1%