aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorAdam Mathes <adam@trenchant.org>2017-01-23 20:04:03 -0800
committerAdam Mathes <adam@trenchant.org>2017-01-23 20:04:03 -0800
commit93d6d36eb697cd9452eb4aab446151a1a33ed245 (patch)
treec9cb88718d03a6964f6d3705066f11d356257d37 /README.md
downloadneko-93d6d36eb697cd9452eb4aab446151a1a33ed245.tar.gz
neko-93d6d36eb697cd9452eb4aab446151a1a33ed245.tar.bz2
neko-93d6d36eb697cd9452eb4aab446151a1a33ed245.zip
neko v2 initial commit
Diffstat (limited to 'README.md')
-rw-r--r--README.md72
1 files changed, 72 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..e6c19cb
--- /dev/null
+++ b/README.md
@@ -0,0 +1,72 @@
+# Neko
+
+RSS Reader focused on cat ears mode
+
+*the cat ears are in your mind*
+
+## Huh?
+
+I decided I didn't like the [old version that was python and mongo](https://github.com/adammathes/neko_v1) so rewrote the backend in Go and sql and wanted to learn some Go. So assume the code is bad since I don't know what I'm doing.
+
+The javascript frontend is still the same, I might rewrite that too since it's old backbone.js code.
+
+Uh, this is not very easy to use/setup/or anything. Consider it WIP.
+
+## Installation
+
+1. [Install golang](https://golang.org)
+
+2. Set up $GOPATH if one doesn't exist already
+
+ $ mkdir $HOME/go
+ $ export GOPATH=$HOME/go
+
+3. Get neko code
+
+ $ go get github.com/adammathes/neko
+
+4. Get dependencies
+
+ $ cd $HOME/go/src/github.com/adammathes/neko
+ $ make deps
+ OR
+ $ go get [each dependency]
+
+ Great job
+
+5. Build binaries
+
+ $ go build cmd/nekoweb
+ $ go build cmd/nekocrawl
+
+ This should create "nekoweb" and "nekocrawl" binaries
+
+
+6. Create MySQL table and user
+
+ ```sh $ msyqladmin -uroot -p create neko
+ $ mysql -uroot -p neko < init.sql
+ $ echo "probably a good idea to make a limited privilege user"
+ $ mysql -uroot -p neko
+ CREATE USER 'neko'@'localhost' identified by 'password' yourgreatpasswordhere;
+ GRANT ALL PRIVILEGES ON neko.* TO 'neko'@'localhost';
+ ```
+
+7. Configuration - copy example configuration and edit as needed
+
+ $ cp config.example config.json
+
+8. Run web
+
+ $ ./nekoweb config.json
+
+ Load URL/port specified in config. Add feeds
+
+9. Run Crawler
+
+ $ ./nekocrawl config.json
+
+10. Operationalize
+
+ [ add to cron ]
+ [ add daemon for server ]