mirror of
https://github.com/nexus-stc/hyperboria
synced 2024-11-23 19:46:49 +01:00
Merge pull request #11 from the-superpirate/master
fix: Fix documentation
This commit is contained in:
commit
5867e35635
@ -30,6 +30,9 @@ echo "deb [arch=amd64] https://storage.googleapis.com/bazel-apt stable jdk1.8" |
|
||||
sudo apt update && sudo apt install bazel
|
||||
```
|
||||
|
||||
#### IPFS
|
||||
[Installation Guide](https://docs.ipfs.io/install/)
|
||||
|
||||
### MacOS
|
||||
|
||||
#### Docker
|
||||
@ -46,6 +49,9 @@ brew install llvm protobuf python3.9
|
||||
brew install bazel
|
||||
```
|
||||
|
||||
#### IPFS
|
||||
[Installation Guide](https://docs.ipfs.io/install/)
|
||||
|
||||
## Content
|
||||
|
||||
- [`images`](images) - base docker images for [`nexus`](nexus)
|
||||
|
@ -1,5 +1,9 @@
|
||||
# Nexus Cognitron
|
||||
|
||||
## Prerequisite
|
||||
|
||||
Follow the [root guide](../../README.md) to install Docker, IPFS and Bazel (optionally)
|
||||
|
||||
## Guide
|
||||
|
||||
#### 1. Download data dumps
|
||||
@ -12,8 +16,8 @@ ipfs get $COLLECTION
|
||||
|
||||
#### 2. Launch Nexus Cognitron
|
||||
|
||||
Create [`docker-compose.yml`](docker-compose.yml) file to set up Nexus Cognitron and then launch it:
|
||||
```shell script
|
||||
cd nexus/cognitron
|
||||
docker-compose up
|
||||
```
|
||||
|
||||
@ -27,6 +31,6 @@ By default this script is just printing documents.
|
||||
|
||||
```shell script
|
||||
bazel run -c opt installer -- iterate \
|
||||
--store-filepath scitech.store.tar \
|
||||
--data-filepath $COLLECTION_PATH/index/scitech \
|
||||
--schema-filepath schema/scitech.yaml
|
||||
```
|
||||
|
@ -19,4 +19,4 @@ services:
|
||||
- "50000:80"
|
||||
volumes:
|
||||
- '${COLLECTION_PATH}:/summa'
|
||||
version: "3.9"
|
||||
version: "3"
|
||||
|
@ -13,6 +13,7 @@ py_binary(
|
||||
deps = [
|
||||
requirement("aioipfs"),
|
||||
requirement("fire"),
|
||||
requirement("pyyaml"),
|
||||
requirement("tantipy"),
|
||||
requirement("izihawa_utils"),
|
||||
],
|
||||
|
@ -1 +1,6 @@
|
||||
# Nexus Web
|
||||
|
||||
#### Development
|
||||
```shell script
|
||||
bazel run web_dev
|
||||
```
|
Loading…
Reference in New Issue
Block a user