Git Product home page Git Product logo

orcid-member-services's Introduction

ORCID Member Portal

The ORCID Member Portal is a new suite of tools intended to help organizations make the most of their ORCID membership. This application is currently under development and has not yet been released.

The first phase of development includes features that simplify the process of posting affiliation information (employment, education, etc) to researchers’ ORCID records.

Project tasks are managed in Trello:

Development setup

Prerequisites

Install and start MongoDB

Install and start MongoDB Community Edition for your OS

Clone the orcid-member-services repository

Create a git directory in your home folder, and clone the orcid-member-services project there:

mkdir ~/git
cd ~/git
git clone [email protected]:ORCID/orcid-member-services.git

Set Java version to Open JDK 11

Edit bash profile to set JAVA_HOME to your OpenJDK 11 path, ex:

vim ~/.bash_profile
export JAVA_HOME=$(/usr/libexec/java_home -v 11)

Start the JHipster registry

  • Open a new terminal
  • cd orcid-member-services/jhipster-registry/
  • Run bash start.sh. This should download the jhipster-registry jar if you don't have it installed. If for some reason the download fails you will need to download it manually
  • Wait for the jhipster-registry to start
  • Verify it has started properly. Go to http://localhost:8761/#/ and sign in with admin, password admin

Start the user service

Our user service, based on JHipster UAA, is the service we use to secure our member services app. We also use it for all user based functionality.

IMPORTANT! For running locally without an email server connected, disable mail health check for oauth2-services before starting. Edit oauth2-service/src/main/resources/config/application.yml and set health - mail - enabled to false.

  • Open a new terminal
  • cd orcid-member-services/user-service/
  • Run bash mvnw
  • Wait for it to start

Start the JHipster gateway:

  • Start MongoDB (e.g. mongod --config /usr/local/etc/mongod.conf --fork)
  • Open a new terminal
  • cd orcid-member-services/gateway/
  • Run bash mvnw
  • Wait for it to start
  • Go to http://localhost:8080/ and sign in with the admin credentials admin / admin

Start the Angular frontend

This is only required after making front end changes

  • Stop the jhipster gateway if it's running
  • From the jhiptster gateway base directory, run npm install then npm start
  • Wait for it to start - localhost:9000 will open in a new browser tab once the server is up
  • Optionally kill it and start up again using bash mvnw as above

Start the assertion service

  • Open a new terminal
  • cd orcid-member-services/assertion-service
  • Run bash mvnw
  • Wait for it to start

Start the member service

  • Open a new terminal
  • cd orcid-member-services/member-service
  • Run bash mvnw
  • Wait for it to start

Notes

  • As long as the jhipster-registry is running first, the starting order of the other services is not important. They can also be started concurrently.

orcid-member-services's People

Contributors

amontenegro avatar auumgn avatar bobcaprice avatar camelia-orcid avatar danielpalafox avatar dependabot[bot] avatar gilesw avatar jthomas-orcid avatar kprisautomation avatar leomendoza123 avatar lizkrznarich avatar pipwhiteorcid avatar tomdemeranville avatar transifex-integration[bot] avatar wjrsimpson avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

orcid-member-services's Issues

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.