Post
Topic
Board Announcements (Altcoins)
Merits 1 from 1 user
Re: [ANN] Ravencoin [RVN] PoW GPU Mining | Asset Transfer Blockchain (Updated ANN)
by
Deadheded
on 13/05/2019, 19:38:01 UTC
⭐ Merited by vapourminer (1)
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



That works great, so it must be some cache issue on my end.

The syntax for the RPi is almost the same as for Win CL so that part is easy.  I have taken the monitor, keyboard and mouse off of my RPi so I want to Putty over to it, transfer the file and then execute the upload from the ipfs node there.  I know it is all pretty simple and you just gave me a head start.  My biggest issue is 3 kids, wife, job and computers are only a hobby now and not my main source of income.  This leaves almost no time to read up and fail for a few hours while I am trying to re-learn the Linux that I haven't used in 12+ years...

Thanks for your time and check out what they are doing over at freefaucet.io.  I have made a couple of RVN geofaucets...