Skip to content

buzzkillb/denarius-wiki

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

denarius-wiki

https://denarius.wiki
using Hugo and Learn Theme https://themes.gohugo.io/hugo-theme-learn/

Install hugo (Linux)

download latest https://github.com/gohugoio/hugo/releases

wget https://github.com/gohugoio/hugo/releases/download/v0.67.1/hugo_0.67.1_Linux-64bit.tar.gz
tar -xzvf https://github.com/gohugoio/hugo/releases/download/v0.67.1/hugo_0.67.1_Linux-64bit.tar.gz
cp hugo /usr/local/bin
cd ~

clone and build

git clone https://github.com/buzzkillb/denarius-wiki
cd ~/denarius-wiki
git submodule init
git submodule update
hugo

run hugo local server

https://gohugo.io/getting-started/quick-start/

hugo server -D

look at page on your local web browser (VM)
http://localhost:1313/

Run on IPFS

https://blockforums.org/topic/342-create-a-website-using-ipfs-daemon/
after that get your PEERID hash and run a script (addipfs.sh) like this changing the directory (/home/username/denarius-wiki/public/) and hash (QmY8ED7bPoxQqrbFBbsY3KVpz2GqNmDRtDG8JDTA8kV1H2) to yours

#!/bin/bash
TMP=`/usr/local/bin/ipfs add -r /home/username/denarius-wiki/public/ | awk 'END{printf $2}'` && /usr/local/bin/ipfs name publish $TMP
NAME=$(/usr/local/bin/ipfs name resolve QmY8ED7bPoxQqrbFBbsY3KVpz2GqNmDRtDG8JDTA8kV1H2)

Releases

No releases published

Packages

No packages published