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

Add support for loading BLS and O*NET codes during Quickstart build #89

Closed
JohnKallies opened this issue Dec 14, 2021 · 0 comments · Fixed by #94
Closed

Add support for loading BLS and O*NET codes during Quickstart build #89

JohnKallies opened this issue Dec 14, 2021 · 0 comments · Fixed by #94
Labels
dev-tooling Changes that enhance/improve development

Comments

@JohnKallies
Copy link
Contributor

JohnKallies commented Dec 14, 2021

As an OSMT developer standing up a Quickstart, I want to have job-related codes already loaded in OSMT.

This change involves automating the additional manual steps spelled out in the project Quickstart Configuration

docker exec -it <app-container-id> /bin/bash

java -jar -Dspring.profiles.active=dev,import /opt/osmt/bin/osmt.jar --csv=/opt/osmt/import/BLS-Import.csv --import-type=bls

java -jar -Dspring.profiles.active=dev,import /opt/osmt/bin/osmt.jar --csv=/opt/osmt/import/oNet-Import.csv --import-type=onet

java -Dspring.profiles.active=dev,reindex -jar /opt/osmt/bin/osmt.jar

This change involves providing an option to run these imports at Quickstart build time. One technique would be an environment variable passed to the docker-compose.

@JohnKallies JohnKallies added the dev-tooling Changes that enhance/improve development label Dec 14, 2021
JohnKallies added a commit that referenced this issue Dec 28, 2021
* Add metadata imports to Quickstart #89

* Add env var for skipping metadata import

* Update README docs for importing Quickstart metadata

* Fixed erroneous default value message

Fixed default value message for SKIP_METADATA_IMPORT
@JohnKallies JohnKallies linked a pull request Dec 28, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev-tooling Changes that enhance/improve development
Development

Successfully merging a pull request may close this issue.

1 participant