This repository combines all the OSH modules and dependencies to deploy the OSH server and client for ORNL.
Clone the repository and update all submodules recursively
git clone git@github.com:Botts-Innovative-Research/osh-oakridge-buildnode.git --recursive
If you've already cloned without --recursive
, run:
cd path/to/osh-oakridge-buildnode
git submodule update --init --recursive
Navigate to the project directory:
cd path/to/osh-oakridge-buildnode
Run the build script (macOS/Linux):
./build-all.sh
Run the build script (Windows):
./build-all.bat
After the build completes, it can be located in build/distributions/
-
Unzip the distribution using the command line or File Explorer:
Option 1: Command Line
unzip build/distributions/osh-node-oscar-1.0.zip cd osh-node-oscar-1.0/osh-node-oscar-1.0
tar -xf build/distributions/osh-node-oscar-1.0.zip cd osh-node-oscar-1.0/osh-node-oscar-1.0
Option 2: Use File Explorer
- Navigate to
path/to/osh-oakridge-buildnode/build/distributions/
- Right-click
osh-node-oscar-1.0.zip
. - Select Extract All..
- Choose your destination, (or leave the default) and extract.
- Navigate to
-
Launch the OSH node: Run the launch script, "launch.sh" for linux/mac and "launch.bat" for windows.
-
Access the OSH Node
- Remote: [ip-address]:8282/sensorhub/admin
- Locally: http://localhost:8282/sensorhub/admin
The default credentials to access the OSH Node are admin:admin. This can be changed in the Security section of the admin page.
For documentation on configuring a Lane System on the OSH Admin panel, please refer to the OSCAR Documentation provided in the Google Drive documentation folder.
After configuring the Lanes on the OSH Admin Panel, you can navigate to the Clients endpoint:
- Remote: [ip-address]:8282
- Local: http://localhost:8282/
For documentaiton on configuring a server on the OSCAR Client refer to the OSCAR Documentation provided in the Google Drive documentation folder.