Merge pull request #13 from the-superpirate/master

- fix: Add pulling in documentation
This commit is contained in:
the-superpirate 2021-01-29 14:10:04 +03:00 committed by GitHub
commit 4b048ee6b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -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)

View File

@ -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) {

View File

@ -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) {