Tutorial:Blockchain: create website with IPFS
final result, my sample site:
ipfs.io/ipns/samsara.site
or
samsara.site
it’s currently hosting on my pc, loading speed quite slow, please be patient
how to:
- create simple site with hugo:
hugo new site samsara.site
git init
git submodule add
hugo -s samsara.site\ -d \publish
- publish to ipfs ipns peer
ipfs init
ipfs daemon
ipfs add -r \publish
ipfs name publish
- port forwarding & reverse proxy
add port forwarding in route setting
dns record:
txt dlink=/ipns/
start nginx
Comments