OGC Building Blocks - register of OGC specification elements packaged as FAIR resources.
OGC Building Blocks and a building blocks register. For more information read the docs
You need a functioning Docker environment to build the Building Blocks Register locally.
All the output files will be generated under build-local
.
- Clone the repository:
git clone https://github.com/opengeospatial/bblocks.git --recurse-submodules
- Change into the repository folder:
cd bblocks
- Update submodules:
git submodule update --recursive --remote
- Build the Register:
# Process building blocks docker run --pull=always --rm --workdir /workspace -v $(pwd):/workspace --user $UID \ ghcr.io/opengeospatial/bblocks-postprocess --clean true \ --items-dir registereditems/ \ --base-url https://opengeospatial.github.io/bblocks/ # Build Slate docs docker run --pull=always --rm --user $UID \ -v "$(pwd)/build-local/generateddocs/slate:/srv/slate/source" \ -v "$(pwd)/build-local/generateddocs/slate-build:/srv/slate/build" \ dockerogc/slate build
- Run a web server locally, on this folder. For instance:
npx http-server
- Access it on a browser:
http://127.0.0.1:8080
.
If you need to rebuild the Register, just run steps 2 and 3.
This code is released under Apache 2.0 license.
Please refer to CONTRIBUTING.md.