Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
MOLGENIS is an collaborative open source project on a mission to generate great software infrastructure for life science research.
Java JavaScript CSS Other

Merge pull request #2858 from Mark-de-Haan/master

Fix mapping service UI
latest commit 9b5fb0dee7
@fdlk fdlk authored
Failed to load latest commit information.
molgenis-annotators Merge remote-tracking branch 'blessed/r1.5.0' into merge-r1.5.0
molgenis-app Merge remote-tracking branch 'blessed/r1.5.0' into merge-r1.5.0
molgenis-catalogue Merge with master
molgenis-charts Set version to 1.6.0-SNAPSHOT
molgenis-core-ui Merge pull request #2855 from fdlk/merge-r1.5.0
molgenis-core Merge branch 'master' of https://github.com/molgenis/molgenis into fe…
molgenis-das Set version to 1.6.0-SNAPSHOT
molgenis-data-annotators Merge branch 'r1.5.0' into merge-r1.5.0
molgenis-data-csv Set version to 1.6.0-SNAPSHOT
molgenis-data-elasticsearch Merge remote-tracking branch 'blessed/r1.5.0' into merge-r1.5.0
molgenis-data-examples Set version to 1.6.0-SNAPSHOT
molgenis-data-excel Set version to 1.6.0-SNAPSHOT
molgenis-data-googlespreadsheet Set version to 1.6.0-SNAPSHOT
molgenis-data-import Merge remote-tracking branch 'blessed/r1.5.0' into merge-r1.5.0
molgenis-data-jpa Merge branch 'master' of https://github.com/molgenis/molgenis into fe…
molgenis-data-mapper Merge pull request #2858 from Mark-de-Haan/master
molgenis-data-merge Merge remote-tracking branch 'blessed/r1.5.0' into merge-r1.5.0
molgenis-data-migrate organize import
molgenis-data-mysql Set version to 1.6.0-SNAPSHOT
molgenis-data-rest-client Set version to 1.6.0-SNAPSHOT
molgenis-data-rest Merge remote-tracking branch 'blessed/r1.5.0' into merge-r1.5.0
molgenis-data-semanticsearch Return null if attribute not found.
molgenis-data-system Merge branch 'r1.5.0' into merge-r1.5.0
molgenis-data-validation Split validations and questionnaire plugin features
molgenis-data-vcf Make it compile
molgenis-data Merge remote-tracking branch 'blessed/r1.5.0' into merge-r1.5.0
molgenis-dataexplorer Data set delete: Select between data or data+meta delete
molgenis-disease-matcher Set version to 1.6.0-SNAPSHOT
molgenis-js Merge branch 'master' of https://github.com/molgenis/molgenis into fe…
molgenis-model-registry Merge remote-tracking branch 'blessed/r1.5.0' into merge-r1.5.0
molgenis-ontology-core Merge branch 'master' of github.com:molgenis/molgenis into feature/ta…
molgenis-ontology Merge branch 'master' of https://github.com/molgenis/molgenis into me…
molgenis-pathways Merge branch 'r1.5.0' into merge-r1.5.0
molgenis-python Set version to 1.6.0-SNAPSHOT
molgenis-r Merge branch 'r1.5.0' into merge-r1.5.0
molgenis-scripts Make sure R Script type gets added to the database before the Ontolog…
molgenis-security-core Merge branch 'r1.5.0' into merge-r1.5.0
molgenis-security Merge branch 'r1.5.0' into merge-r1.5.0
.gitignore fix merge conflicts
LICENSE add license
README.md Add instructions to configure eclipse's annotation processing to sync…
eclipse-java-molgenis-style.xml eclipse molgenis java code formatter: insert new line after annotatio…
eclipse-javascript-molgenis-style.xml tweak settings: less padding and line breaks
pom.xml Split validations and questionnaire plugin features

README.md

Build Status

Welcome to MOLGENIS

MOLGENIS is a collaborative open source project on a mission to generate great software infrastructure for life science research.

The procedure below tells you how to checkout the molgenis project and build one of the example apps.

1. Install software needed

install java8 JDK (not JRE) from http://www.oracle.com/technetwork/java/javase/downloads/index.html

install eclipse (we used Luna) from https://www.eclipse.org/downloads/

install mysql from (we used 5.6.23 DMG) http://dev.mysql.com/downloads/mysql/

install git from http://git-scm.com/download/

2. Configure mysql

open terminal and start mysql client (command differs in Windows, Linux, Mac):

/usr/local/mysql/bin/mysql -u root

in mysql client create database and permissions via command:

create database omx;
grant all privileges on omx.* to molgenis@localhost identified by 'molgenis';
flush privileges;

3. Configure Eclipse

start Eclipse from the commandline (via Dock will not work!)

when asked, create fresh workspace folder (not same folder as git!)

go to 'Help' -> 'Eclipse market place'

find and install plugins:

  • 'JBoss Tools', during install only select Freemarker IDE
  • 'TestNG for Eclipse'
  • 'm2e-apt'

go to 'Eclipse' -> 'Preferences' -> 'installed JREs' and select 'java 8' go to 'Eclipse' -> 'Preferences' -> 'Maven' -> 'Annotation Processing' and select 'Automatically Configure JDT APT'

4. Get the code

create acount on github.com

'fork' on http://github.com/molgenis/molgenis

copy the cloneURL

open terminal (mkdir if needed) and type

cd ~/git 
git clone http://github.com/[YOURACCOUNT]/molgenis

Optionally select stable molgenis version:

git fetch --tags origin
git checkout -b <tag name: see https://github.com/molgenis/molgenis/releases>

More information about forking can be found here: https://help.github.com/articles/fork-a-repo

5. Configure the default admin password

Create the directory ~/.molgenis/omx and create a file called molgenis-server.properties in this folder (~ is your home folder)

Add user and database properties to this file, such as this example:

db_user=molgenis
db_password=molgenis
db_uri=jdbc:mysql://localhost/omx
admin.password=admin
user.password=admin

If these properties are not present, the MolgenisDatabasePopulator will fail (RuntimeException). This properties-file should be in your home folder, if the file is not there yet, just create it.

6. Import, build and run MOLGENIS in Eclipse

In eclpise, if still open, close the 'Welcome' screen.

Choose 'File' -> 'Import' -> 'Import existing Maven projects'

Browse to your /git/molgenis directory

Select (and wait to install all kinds of maven connectors)

Right mouse 'molgenis' -> Run as -> Maven install.

Right mouse 'molgenis-app' -> Run as -> Maven build ... -> in goals type 'jetty:run' and push run button

Open your browser at http://localhost:8080/

You should see the application. Login as 'admin', 'admin' to be able to upload and view data, create users, etc etc.

7. Keep your code up to date

Add the original molgenis repository as a remote location.

cd ~/git/molgenis
git remote add blessed https://github.com/molgenis/molgenis.git

Perform regular updates so the latest changes are merged with your local clone.

git pull blessed master

And push back any merges or commits of your own to your online fork.

git push origin master

8. Troubleshooting

When I build I get maven build error 'env not available'.

Solution: start Eclipse from commandline.

When I try to start an application, the console tells me 'Address already in use'!

Run the Maven target 'jetty:stop'. If that does not help, use your opering systems process manager to kill anything running on port 8080. For example:

kill -9 `lsof -i :8080 -t`
Something went wrong with that request. Please try again.