Skip to content

Commit

Permalink
- Updated instructions on the README
Browse files Browse the repository at this point in the history
  • Loading branch information
doublebyte1 committed Jan 31, 2024
1 parent c7befb2 commit 9fe8c8e
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ Bootstrap page containing an overview of building blocks and a building blocks r
You need a functioning Docker environment to build the Building Blocks Register locally.
All the output files will be generated under `build-local`.

1. Clone the repository: `git clone --recurse-submodules`
2. Update submodules: `git submodule update --recursive --remote`
3. Build the Register:
1. Clone the repository: `git clone https://github.com/opengeospatial/bblocks.git --recurse-submodules`
2. Change into the repository folder: `cd bblocks`
4. Update submodules: `git submodule update --recursive --remote`
5. Build the Register:
```shell
# Process building blocks
docker run --pull=always --rm --workdir /workspace -v $(pwd):/workspace --user $UID \
Expand All @@ -27,8 +28,8 @@ All the output files will be generated under `build-local`.
-v "$(pwd)/build-local/generateddocs/slate-build:/srv/slate/build" \
dockerogc/slate build
```
4. Run a web server locally, on this folder. For instance: `npx http-server`
5. Access it on a browser: `http://127.0.0.1:8080`.
6. Run a web server locally, on this folder. For instance: `npx http-server`
7. Access it on a browser: `http://127.0.0.1:8080`.

If you need to rebuild the Register, just run steps 2 and 3.

Expand Down

0 comments on commit 9fe8c8e

Please sign in to comment.