Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated readme #1247

Merged
merged 1 commit into from
Aug 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 10 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Project tasks are managed in Trello:
- [Yarn](https://yarnpkg.com/lang/en/docs/install/#mac-stable)
- [MongoDB](https://docs.mongodb.com/manual/installation/)
- [MongoDB compass](https://www.mongodb.com/products/compass) also recommended
- [Angular CLI](https://v16.angular.io/cli)

## Install and start MongoDB

Expand All @@ -39,12 +40,12 @@ 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
## Start the discovery service

- 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
- cd orcid-member-services/discovery-service/
- Run `bash mvnw`
- Wait for it to start
- Verify it has started properly. Go to http://localhost:8761/#/ and sign in with `admin`, password `admin`


Expand All @@ -59,7 +60,7 @@ Our user service, based on [JHipster UAA](https://www.jhipster.tech/using-uaa/),
- Run `bash mvnw`
- Wait for it to start

## Start the JHipster gateway:
## Start the gateway:

- Start MongoDB (e.g. `mongod --config /usr/local/etc/mongod.conf --fork`)
- Open a new terminal
Expand All @@ -69,12 +70,10 @@ Our user service, based on [JHipster UAA](https://www.jhipster.tech/using-uaa/),
- Go to [http://localhost:8080/](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
- Open a new terminal
- cd orcid-member-services/ui
- Run `ng serve`
- Wait for it to start

## Start the assertion service

Expand Down
Loading