Post
Topic
Board Announcements (Altcoins)
Re: [ANN] Ravencoin [RVN] PoW GPU Mining | Asset Transfer Blockchain (Updated ANN)
by
nastasache
on 13/05/2019, 19:23:45 UTC
Can someone point me to directions for making IPFS link go right to a website.  I want to create an asset and in the asset explorer when you click "click to view" it goes to a web site.

Just like this asset does https://ravencoin.asset-explorer.net/   asset name: "GETTING_STARTED/RVN"

Upload an index.html file with meta refresh.

the ipfs.org upload will only let you upload pics.  Same with Ravencoin and mangofarms web sites.  I downloaded and setup go-ipfs, started the daemon and uploaded the html through the web UI and using command line.  Both returned a hash.  I can only access the file through my local gateway on one browser (brave browser).  Opera, IE and Iron won't load through the local or any other gateway.  I am able to load other ipfs links from the ravencoin asset explorer in any browser so I know it is not a browser issue.  

can anyone see this?   https://ipfs.io/ipfs/QmfQ5XSZaTw2hzm8GWFcRApW76kwcWfS5UBzcNhxNFyuHr  a .pdf that I am testing...  

Yeap, I see this. "Get your free crypto...". Looks ok.

If you see this: https://gateway.ipfs.io/ipfs/QmZgparas5NPUvpPFGxBegRA4m9RFwBnpnk6ytKKLXEkax/ it's an index.html file.

I don't think it's a browser issue, maybe an ipfs pin/cache issue.

Tried to use 'ipfs add' command to upload html file and not worked? What's the returned Qm?

That one was uploaded using ipfs gateway.  But I have trouble seeing it unless I use the short url they proide...

This one:  https://ipfs.io/ipfs/QmSb1D4XsFa8A2jNGvihBBUKmtEcfJ3DBPRNLNnGcadePS

I uploaded with the ipfs  webui.  it is a html rediredt to the same address you see in the pdf...  

 QmRB7Usv9D77aBWnRdAMsWnPhXmjQiXPmGCd9gSqvjd8Qz this one with the CL ipfs add "file"


if you can see that then I know it is on my side...

next I need to read up on how to putty to my Rass PI and upload using the ravenland OS. ipfs node...


Your link loads fine for me so I think I will look into the pin/cache issue you mentioned.


On Rass PI (ravenland OS):

$ su ipfs
$ cd ~
$ mkdir tests
$ cd tests
$ mcedit index.html



   





$ ipfs add index.html
added QmVLN9SMfTEtBjzbJ3vAXQdyGqQ9H31RGNW9s2oGkoStja index.html

https://ipfs.io/ipfs/QmVLN9SMfTEtBjzbJ3vAXQdyGqQ9H31RGNW9s2oGkoStja