Last active
July 20, 2017 10:32
-
-
Save cthoyt/6b77644280d2dd434d70f4e07729edf6 to your computer and use it in GitHub Desktop.
Update BEL Resources on Artifactory with Selventa Generator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin bash | |
mkdir output | |
# Download and install pybel-tools | |
git clone https://github.com/pybel/pybel-tools | |
cd pybel-tools | |
python3 -m pip install --user . | |
cd .. | |
# Download resource generator repository | |
git clone https://github.com/pybel/resource-generator | |
# Download and output namespaces | |
./resource-generator/gp_baseline.py -vv -n ./output | |
# Download and output annotations | |
./resource-generator/belanno.py -n ./output | |
# Upload resources to artifactory | |
python3 -m pybel_tools upload_resources ./output |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This script should do the job of downloading all of the scripts, running them, and deploying it to artifactory, assuming the environment variables
ARTY_USERNAME
andARTY_PASSWORD
are set @cebel @jd-s