Update README.md
このコミットが含まれているのは:
コミット
6929ddfb16
16
README.md
16
README.md
|
@ -1,12 +1,12 @@
|
||||||
htwtxt – hosted twtxt server
|
htwtxt – hosted twtxt server
|
||||||
============================
|
============================
|
||||||
|
|
||||||
Rationale
|
Rationale
|
||||||
---------
|
---------
|
||||||
|
|
||||||
"twtxt" is a protocol and client (<https://github.com/buckket/twtxt>) for
|
[*twtxt*](https://github.com/buckket/twtxt) is a protocol and client for
|
||||||
decentralized microblogging. Users are expected to provide their feeds as plain
|
decentralized microblogging. Users are expected to provide their feeds as plain
|
||||||
text files with URLs accessible over the Internet. "htwtxt" is a web server to
|
text files with URLs accessible over the Internet. *htwtxt* is a web server to
|
||||||
host and grow such text files for users without trivial access to their own web
|
host and grow such text files for users without trivial access to their own web
|
||||||
space.
|
space.
|
||||||
|
|
||||||
|
@ -14,8 +14,8 @@ Clone, build, run
|
||||||
-----------------
|
-----------------
|
||||||
|
|
||||||
With htwtxt written in Go, the following instructions expect a Go development
|
With htwtxt written in Go, the following instructions expect a Go development
|
||||||
environment with the go tool (<https://golang.org/cmd/go/>) installed, and the
|
environment with [the go tool](https://golang.org/cmd/go/) installed, and the
|
||||||
$GOPATH set:
|
`$GOPATH` set:
|
||||||
|
|
||||||
git clone https://github.com/plomlompom/htwtxt $GOPATH/src/htwtxt
|
git clone https://github.com/plomlompom/htwtxt $GOPATH/src/htwtxt
|
||||||
go get htwtxt
|
go get htwtxt
|
||||||
|
@ -25,7 +25,7 @@ $GOPATH set:
|
||||||
$GOPATH/bin/htwtxt
|
$GOPATH/bin/htwtxt
|
||||||
|
|
||||||
This will build and start the server, and set up directories and files expected
|
This will build and start the server, and set up directories and files expected
|
||||||
by it below ~/htwtxt (or any other path you prefer instead of this).
|
by it below `~/htwtxt` (or any other path you prefer instead of this).
|
||||||
|
|
||||||
Configuring port number and TLS
|
Configuring port number and TLS
|
||||||
-------------------------------
|
-------------------------------
|
||||||
|
@ -35,8 +35,8 @@ accepts up to three optional arguments to change this:
|
||||||
|
|
||||||
$GOPATH/bin/htwtxt [PORT] [CERTIFICATE] [KEY]
|
$GOPATH/bin/htwtxt [PORT] [CERTIFICATE] [KEY]
|
||||||
|
|
||||||
PORT is the port number to serve. CERTIFICATE and KEY are paths to the
|
`PORT` is the port number to serve. `CERTIFICATE` and `KEY` are paths to the
|
||||||
certificate and key files needed to run htwtxt as a HTTPS server.
|
certificate and key files needed to run *htwtxt* as a HTTPS server.
|
||||||
|
|
||||||
Copyright, license
|
Copyright, license
|
||||||
------------------
|
------------------
|
||||||
|
|
読み込み中…
新しいイシューから参照