mirror of
https://github.com/nexus-stc/hyperboria
synced 2025-01-11 19:25:53 +01:00
Merge pull request #13 from the-superpirate/master
- fix: Add pulling in documentation
This commit is contained in:
commit
4b048ee6b7
@ -11,14 +11,14 @@ Follow the [root guide](../../README.md) to install Docker, IPFS and Bazel (opti
|
|||||||
```shell script
|
```shell script
|
||||||
export COLLECTION=bafykbzacebzohi352bddfunaub5rgqv5b324nejk5v6fltjh45be5ykw5jsjg
|
export COLLECTION=bafykbzacebzohi352bddfunaub5rgqv5b324nejk5v6fltjh45be5ykw5jsjg
|
||||||
export COLLECTION_PATH=$(realpath $COLLECTION)
|
export COLLECTION_PATH=$(realpath $COLLECTION)
|
||||||
ipfs get $COLLECTION
|
ipfs get $COLLECTION && ipfs pin add $COLLECTION
|
||||||
```
|
```
|
||||||
|
|
||||||
#### 2. Launch Nexus Cognitron
|
#### 2. Launch Nexus Cognitron
|
||||||
|
|
||||||
Create [`docker-compose.yml`](docker-compose.yml) file to set up Nexus Cognitron and then launch it:
|
Create [`docker-compose.yml`](docker-compose.yml) file to set up Nexus Cognitron and then launch it:
|
||||||
```shell script
|
```shell script
|
||||||
docker-compose up
|
docker-compose pull && docker-compose up
|
||||||
```
|
```
|
||||||
then go to [http://localhost:3000](http://localhost:3000)
|
then go to [http://localhost:3000](http://localhost:3000)
|
||||||
|
|
||||||
|
@ -78,7 +78,7 @@ export default {
|
|||||||
},
|
},
|
||||||
ipfsUrl: function () {
|
ipfsUrl: function () {
|
||||||
if (!this.ipfsMultihash) return null
|
if (!this.ipfsMultihash) return null
|
||||||
return `${this.$config.ipfsGateway}/ipfs/${this.ipfsMultihash}?filename=${this.filename}`
|
return `${this.$config.ipfsGateway}/ipfs/${this.ipfsMultihash}?filename=${this.filename}&download=true`
|
||||||
},
|
},
|
||||||
ipfsMultihash: function () {
|
ipfsMultihash: function () {
|
||||||
if (this.document.ipfsMultihashes) {
|
if (this.document.ipfsMultihashes) {
|
||||||
|
@ -64,7 +64,7 @@ export default {
|
|||||||
},
|
},
|
||||||
ipfsUrl: function () {
|
ipfsUrl: function () {
|
||||||
if (!this.ipfsMultihash) return null
|
if (!this.ipfsMultihash) return null
|
||||||
return `${this.$config.ipfsGateway}/ipfs/${this.ipfsMultihash}?filename=${this.filename}`
|
return `${this.$config.ipfsGateway}/ipfs/${this.ipfsMultihash}?filename=${this.filename}&download=true`
|
||||||
},
|
},
|
||||||
ipfsMultihash: function () {
|
ipfsMultihash: function () {
|
||||||
if (this.document.ipfsMultihashes) {
|
if (this.document.ipfsMultihashes) {
|
||||||
|
Loading…
Reference in New Issue
Block a user