Git Product home page Git Product logo

hydra-data's Introduction

hydra-data

The service-layer for the KPMP Atlas Repository

Test

./gradlew test

Clear gradlew cache

If you have having troubles seeing changes during development, you can try to clear the gradle cache by running the following command:

./gradlew clean

Build

./gradlew build docker The default tag is the github branch if no verison is provided To pass a version when building the docker image execute ./gradlew build docker -Ptag=<tagNumber>

Restart Spring

docker kill spring

cd ~/proj/heavens-docker/atlas/knowledge-environment

docker-compose -f docker-compose.dev.yml up -d

View Spring Logs

docker-compose -f docker-compose.dev.yml logs --f spring

Connect to QA database

  1. Update .env ENV_MYSQL_HOST to the IP address of QA KE
  2. Update .env ENV_MYSQL_PASSWORD to the password for QA KE
  3. Add your IP address to a new security group called sg-0597e054f11d2e31a (Developer to KE Mariadb)
  4. Restart your knowledge-environment (don't worry that you have your own copy of mariadb, it'll be ignored)

Regenerate the Atlas Repository Search Engine

  1. Login to the KE Enterprise Search console (see https://docs.google.com/document/d/1uMb_ooDEU6PDkZOuFQGnPHo07UtnA-mrfwe3lpuEiho)
  2. Delete the "repository" search engine
  3. Create a new "repository" search engine
  4. SSH to the appropriate KE machine
  5. Execute: curl -X GET http://localhost:3050/api/v1/repository/load-search

Pushing images to Docker

This repository is equipped to build and push an image to docker hub when pushing to the repository (except for master and develop). The image will be named kingstonduo/hydra-data:<git-branch-name>

hydra-data's People

Contributors

dert1129 avatar rlreamy avatar zwright avatar haneent avatar

Stargazers

 avatar

Watchers

 avatar Yongqun Oliver He avatar Becky 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.