Commit 45a4089d authored by Ryan Berkheimer's avatar Ryan Berkheimer
Browse files

small correction - add chmod +x to instruction set in README.

parent 5c85bc97
Pipeline #5815 failed with stage
in 0 seconds
...@@ -98,6 +98,7 @@ deploy: ...@@ -98,6 +98,7 @@ deploy:
install: install:
@echo "Installing package to system." @echo "Installing package to system."
@wget https://k3.cicsnc.org/rberkheimer/messageapi/-/raw/mac-develop/scripts/install/package/install_k3.sh?inline=false --no-check-certificate -O install_k3.sh @wget https://k3.cicsnc.org/rberkheimer/messageapi/-/raw/mac-develop/scripts/install/package/install_k3.sh?inline=false --no-check-certificate -O install_k3.sh
@chmod +x install_k3.sh
@./install_k3.sh "C_CPP" @./install_k3.sh "C_CPP"
@rm install_k3.sh @rm install_k3.sh
@echo "Finished installing package, check for success." @echo "Finished installing package, check for success."
\ No newline at end of file
...@@ -724,8 +724,9 @@ The package can be retrieved and used as a precompiled set of artifacts packaged ...@@ -724,8 +724,9 @@ The package can be retrieved and used as a precompiled set of artifacts packaged
To install on a mission system at NCEI, do the following: To install on a mission system at NCEI, do the following:
1. Make sure you are logged into the NCEI gitlab in the usual way. If you are logged, in, you will be able to access repositories. 1. Make sure you are logged into the NCEI gitlab in the usual way. If you are logged, in, you will be able to access repositories.
2. Copy/paste the following three lines in a terminal one by one, hitting enter after each, for the user that will be using MessageAPI: 2. Copy/paste the following four lines in a terminal one by one, hitting enter after each, for the user that will be using MessageAPI:
- wget https://git.ncei.noaa.gov/sesb/sscs/messageapi/-/raw/master/scripts/install/package/install.sh?inline=false --no-check-certificate -O install.sh - wget https://git.ncei.noaa.gov/sesb/sscs/messageapi/-/raw/master/scripts/install/package/install.sh?inline=false --no-check-certificate -O install.sh
- chmod +x install.sh
- ./install.sh "C_CPP" - ./install.sh "C_CPP"
- rm install.sh - rm install.sh
3. You now have access to 3. You now have access to
...@@ -743,15 +744,15 @@ If desired or needed, MessageAPI can be bundled into other JARS or packages cont ...@@ -743,15 +744,15 @@ If desired or needed, MessageAPI can be bundled into other JARS or packages cont
## Installation and Deployment ## Installation and Deployment
At the time of this writing, MessageAPI was built using OpenJDK 11.0.3 with gradle 5.4.1. Older JDK versions are not guaranteed to work. At the time of this writing, MessageAPI was built and tested using OpenJDK 1.8 as well as 11.0.3 with gradle 5.4.1. Older JDK versions are not guaranteed to work.
There was a breaking change between older versions of gradle and the 5 series, and a relative path resolution There was a breaking change between older versions of gradle and the 5 series, and a relative path resolution
method was updated to accommodate this change. If building from scratch, the gradle version must be upgraded to 5.4.1+. method was updated to accommodate this change. If building from scratch, the gradle version must be upgraded to 5.4.1+.
Once these two system dependencies are met, this package can be run with tests by running 'gradle' from the package root. Once these two system dependencies are met, this package can be run with tests by running 'make' from the package root.
```Makefile ```Makefile
gradle make
``` ```
If tests complete successfully, gradle will install MessageAPI to the local repository as an UberJAR on disk (usually in ~/.m2). UberJARs contain all of their dependencies, so the package can be run, for example, in a Java-enabled JupyterNotebook Kernel. Gradle will also create the javadocs (groovydocs) in the build directory ($PACKAGE/build/docs/groovydoc/index.html). If tests complete successfully, gradle will install MessageAPI to the local repository as an UberJAR on disk (usually in ~/.m2). UberJARs contain all of their dependencies, so the package can be run, for example, in a Java-enabled JupyterNotebook Kernel. Gradle will also create the javadocs (groovydocs) in the build directory ($PACKAGE/build/docs/groovydoc/index.html).
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment