GithubHelp home page GithubHelp logo

bolidehi / metadatamanagement Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dzhw/metadatamanagement

0.0 1.0 0.0 186.66 MB

Metadatamanagement (MDM) - Data Search for Higher Education Research and Science Studies

Home Page: https://metadata.fdz.dzhw.eu

License: GNU Affero General Public License v3.0

Java 52.28% HTML 1.56% CSS 6.33% JavaScript 36.84% Shell 0.16% Python 0.04% RobotFramework 2.77% Batchfile 0.01% Dockerfile 0.01%

metadatamanagement's Introduction

Build Status Documentation Status Sauce Test Status Known Backend VulnerabilitiesKnown Frontend VulnerabilitiescodecovMergify Status DOI

Sauce Build Matrix

Metadatamanagement (MDM)

The MDM holds the metadata of the data packages which are available in our Research Data Center FDZ. It enables researchers to browse our data packages before signing a contract for using the data.

Developing the MDM system

Please checkout the development branch before starting to code and create a new branch starting with your username followed by the backlog items issue number you will be working on:

git checkout development
git checkout -b rreitmann/issue1234

Before you can build this project, you must install and configure the following dependencies on your machine:

  1. Java: You need to install java 11 sdk on your system. On Ubuntu you should use SDKMAN!
  2. Maven: You need to install maven 3.6.1 or above on your system. On Ubuntu you should use SDKMAN!
  3. Node.js: Node.js (latest) and npm (coming with node.js) are required as well. On Ubuntu you should install node using NVM

We use Grunt as our client build system. Install the grunt command-line tool globally with:

npm install -g grunt-cli

On Windows, patch.exe has to exist in the PATH. It is distributed as part of git bash, or can be downloaded manually from GnuWin32.

Running on your local machine

Before starting the app on your local machine you need to start the following Document Stores:

  1. Mongodb: Mongodb must be running on the default port, on ubuntu you should install it from here https://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/
  2. Elasticsearch (7.3.2): Elasticsearch must be running on its default port. You can download it from here https://www.elastic.co/downloads/elasticsearch

Make sure that you have read-write-access on the data directory (in your project directory) for Elasticsearch.

Alternatively you can run

docker-compose up
# for later use once the containers are created
docker-compose start

to start all services the metadatamanagement depends on. Mongodb and Elasticsearch will be listening on its default ports.

In order to have all java dependencies for the server and all nodejs dependencies for the client and in order to build everything, simply run (and lean back for a while):

mvn clean install

Run the following commands in two separate terminals to create a blissful development experience where your browser auto-refreshes when files change on your hard drive.

mvn
grunt

If you want to build a docker image for the metadatamanagement server app you can run

mvn deploy

This image can be run with all its dependent containers by

docker-compose -f docker-compose.yml -f docker-compose-app.yml up -d --build

Building for the dev environment

Our CI pipleline will do some automatic checks and tests and it will optimize the metadatamanagement client for the dev environment. So before pushing to Github in order to be sure you won't fail the build you should run:

mvn -Pdev clean install

This will concatenate and minify CSS and JavaScript files using grunt. It will also modify the index.html so it references these new files.

To make the build runnable with an enabled dev profile, you'll need to install the following dependencies:

  • Python

Once Python is installed, run:

pip install git+https://github.com/dzhw/javasphinx.git --user

Note that the --user flag installs the dependency somewhere in your user directory (e.g. /home/{user}/local/bin on Linux). Make sure that the installed binaries/scripts are on your path.

Before deploying the {dev|test|prod} system you need to install the cloudfoundry cli.

You can build and deploy the jar to the desired environment by running

./deploy/build-and-deploy.sh {dev|test|prod}

We test our project continuously with the Robot Framework. Test Developers can get further info here.

Pivotal Cloudfoundry

This project is currently built and deployed to Pivotal Cloudfoundry by Travis CI. You can test the latest version on https://metadatamanagement-dev.cfapps.io/

Big Thanks

Cross-browser Testing Platform and Open Source ❤️ Provided by Sauce Labs

Continuous Integration Platform provided by Travis CI

forthebadge forthebadge forthebadge forthebadge forthebadge

metadatamanagement's People

Contributors

limouri avatar es-flavia avatar rreitmann avatar mdshakawathhossain avatar ext-edcs-cs avatar tgehrke-edicos avatar ypeper avatar snyk-bot avatar mergify[bot] avatar rbirkelbach avatar uteh avatar dependabot[bot] avatar kimsommer avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.