aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYotam Nachum <me@yotam.net>2019-12-07 11:50:58 +0200
committerYotam Nachum <me@yotam.net>2019-12-07 11:50:58 +0200
commit7316ce78a2e06677acbb786620c603780076f377 (patch)
tree5662061002c65ab83faa61507084b5719e96008f
parentValidate request scheme (diff)
downloadshavit-7316ce78a2e06677acbb786620c603780076f377.tar.gz
shavit-7316ce78a2e06677acbb786620c603780076f377.zip
Give the project a proper name
-rw-r--r--README.md14
-rw-r--r--go.mod2
-rw-r--r--input.go2
3 files changed, 9 insertions, 9 deletions
diff --git a/README.md b/README.md
index 06b27e7..44cf1a1 100644
--- a/README.md
+++ b/README.md
@@ -1,9 +1,9 @@
-# Go Gemini Server
+# Shavit
-This is a yet to be named configurable Gemini server for UNIX operating systems.
-The server is in a very early state and can only serve static files but in the
-near future it will support dynamically generated files like a search endpoints
-and an Atom feed.
+Shavit is a configurable Gemini server for UNIX operating systems. The server
+is in a very early state and can only serve static files but in the near future
+it will support dynamically generated files like a search endpoints and an Atom
+feed.
## Building
@@ -11,12 +11,12 @@ The server is written in Go so to build it you only need to run one command:
go build
-This will produce a binary named `go-gemini-server` that you can run.
+This will produce a binary named `shavit` that you can run.
## Running
After you have compiled the server you need to configure it before it will run.
-The server expect a configuration file in `/etc/gemini/config.toml` that contain
+The server expect a configuration file in `/etc/shavit/config.toml` that contain
a path to the documents directory and the certificate files. A simple
configuration file might look like this:
diff --git a/go.mod b/go.mod
index 433b80b..ad90b67 100644
--- a/go.mod
+++ b/go.mod
@@ -1,4 +1,4 @@
-module git.sr.ht/~yotam/go-gemini-server
+module git.sr.ht/~yotam/shavit
go 1.12
diff --git a/input.go b/input.go
index 57df49e..26e65f5 100644
--- a/input.go
+++ b/input.go
@@ -10,7 +10,7 @@ import (
)
const (
- defaultConfigPath = "/etc/gemini/config.toml"
+ defaultConfigPath = "/etc/shavit/config.toml"
)
const (