aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Mathes <adam@trenchant.org>2017-01-23 20:08:47 -0800
committerAdam Mathes <adam@trenchant.org>2017-01-23 20:08:47 -0800
commit67daa019b1920fccd37dfc0b2eaa2735dbc5ffb1 (patch)
tree5fd6d5d331f57da56d6c82d47d6adee0674fa74e
parent85b2584ba0560a25305cb408cf7c7b55872fbd9a (diff)
downloadneko-67daa019b1920fccd37dfc0b2eaa2735dbc5ffb1.tar.gz
neko-67daa019b1920fccd37dfc0b2eaa2735dbc5ffb1.tar.bz2
neko-67daa019b1920fccd37dfc0b2eaa2735dbc5ffb1.zip
readme fixes
-rw-r--r--README.md33
1 files changed, 15 insertions, 18 deletions
diff --git a/README.md b/README.md
index d90d206..7523ba4 100644
--- a/README.md
+++ b/README.md
@@ -18,7 +18,7 @@ This is not very easy to use/setup/or anything. Sorry! Consider it WIP.
2. Set up $GOPATH if one doesn't exist already
- $ mkdir $HOME/go
+ $ mkdir $HOME/go
$ export GOPATH=$HOME/go
3. Get neko code
@@ -27,31 +27,28 @@ This is not very easy to use/setup/or anything. Sorry! Consider it WIP.
4. Get dependencies
- $ cd $HOME/go/src/github.com/adammathes/neko
- $ make deps
- OR
- $ go get [each dependency]
-
- Great job
+ $ cd $HOME/go/src/github.com/adammathes/neko
+ $ make deps
+ OR
+ $ go get [each dependency listed in the Makefile you ignored]
5. Build binaries
- $ go build cmd/nekoweb
- $ go build cmd/nekocrawl
+ $ go build cmd/nekoweb
+ $ go build cmd/nekocrawl
This should create "nekoweb" and "nekocrawl" binaries
-
6. Create MySQL table and user
- $ 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';
+ $ 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
+7. Configuration - copy example configuration and edit as needed
$ cp config.example config.json
@@ -67,5 +64,5 @@ This is not very easy to use/setup/or anything. Sorry! Consider it WIP.
10. Operationalize
- [ add to cron ]
+ [ add to cron ]
[ add daemon for server ]