aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorAdam Mathes <adam@trenchant.org>2017-02-20 12:06:55 -0800
committerAdam Mathes <adam@trenchant.org>2017-02-20 12:06:55 -0800
commita26cf26c2d70e2d3a14b25956889d1c009ea834d (patch)
tree536aefe4556310e891e7daa43e8d0b7bdeae4957 /README.md
parentf63c93d787669472d6ddac67496e31257744b144 (diff)
downloadneko-a26cf26c2d70e2d3a14b25956889d1c009ea834d.tar.gz
neko-a26cf26c2d70e2d3a14b25956889d1c009ea834d.tar.bz2
neko-a26cf26c2d70e2d3a14b25956889d1c009ea834d.zip
readme
Diffstat (limited to 'README.md')
-rw-r--r--README.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/README.md b/README.md
index 89ed194..21594ca 100644
--- a/README.md
+++ b/README.md
@@ -66,7 +66,7 @@ The configuration is JSON which was probably not a good idea.
| name | value | example |
|--------------|--------------------------------------------------|----------------|
| `db` | mysql database connection string | root:@tcp(127.0.0.1:3306)/neko |
-| `web` | web address/port to bind to | | 127.0.0.0.1:4994 |
+| `web` | web address/port to bind to | 127.0.0.0.1:4994 |
| `username` | username for single user auth | user
| `password` | plaintext -- will be encrypted in client cookie | notagoodpassword |
| `static_dir` | absolute path of the static files |/home/user/go/src/adammathes.com/neko/static/|
@@ -91,8 +91,10 @@ This should fetch, download, parse, and store in the database your feeds.
### Run web server
$ neko -serve
+
+UI should now be available at the address in your `web` configuration setting.
-## Running Continuously
+## Operationalize
### Crawl Regularly Via Cron
@@ -102,11 +104,9 @@ Depending on your binaries/configs something like --
-- should crawl regularly on the hour in cron.
-### Server
-
-Sorry it's 2017 and there are like a bajillion incompatible ways to do this on *nix-alikes and it's ridiculous so I'm probably just going to give up on Linux and use OpenBSD so just run it in tmux or something I guess? I mean, set up an init script with a minimal privileged user. Whatever. UNIX is great, have fun.
+### Server as Daemon
-There's an example configuration for systemd + nginx in etc in this repo.
+There's an example configuration for systemd in etc in this repo that should work for modern Linux systems on systemd.
## TODO