papillon

command module
v0.0.0-...-b6deb6c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 23, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

README

Papillon

Go Report Card GoDoc GitHub stars

A distributed static blog publish tool on IPFS

Prepare

install ipfs

start up ipfs node

Note: alpha version need a local IPFS node

# first run ipfs
ipfs init

# start ipfs daemon
ipfs daemon

Alpha Test

Note: Alpha version please use those command

go get -u github.com/gogank/papillon

cd $GOPATH/src/github.com/gogank/papillon 

make

cd $GOPATH/src/github.com/gogank/papillon/build/blog

# generate new post
./papi new mypost

# edit it
vim $GOPATH/src/github.com/gogank/papillon/build/blog/source/posts/mypost.md

# generate whole website
./papi gen 

# publish IPFS, and get your blog URL 
./papi pub

install Papillon

Note: beta version command

go get -u github.com/gogank/papillon
cd $GOPATH/src/github.com/gogank/papillon && go build -o $GOPATH/bin/papi

init (todo)

cd blog_dir
papi init 

new post

papi new my_post_name 

genreate blog files

papi gen

publish your blog onto IPFS

papi pub 

This is a project for Go Hack 2017

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL