Archived
1
0
This commit is contained in:
Jeff Becker 2017-09-04 07:55:57 -04:00
parent efda3efd56
commit eed0fc8001
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05
3 changed files with 7 additions and 2 deletions

View File

@ -45,7 +45,7 @@ func main() {
if len(os.Args) > 2 { if len(os.Args) > 2 {
tool := os.Args[2] tool := os.Args[2]
if tool == "mod" { if tool == "mod" {
if len(os.Args) == 4 && os.Args[3] == "do" { if len(os.Args) >= 4 && strings.ToLower(os.Args[3]) == "do" {
daemon.Setup() daemon.Setup()
eng := daemon.ModEngine() eng := daemon.ModEngine()
r := bufio.NewReader(os.Stdin) r := bufio.NewReader(os.Stdin)

View File

@ -3,6 +3,10 @@ Running NNTPChan
Once you have [built NNTPChan](building.md) and done [the initial setup you](setting-up.md) you can start NNTPChan. Once you have [built NNTPChan](building.md) and done [the initial setup you](setting-up.md) you can start NNTPChan.
Before running make sure you run the setup command, you only need to do this one time:
./srndv2 setup
You can now start the NNTPChan node (srndv2) by running: You can now start the NNTPChan node (srndv2) by running:
./srndv2 run ./srndv2 run

View File

@ -68,6 +68,7 @@ NNTPChan needs to know the paths to the listed programs on your system.
Check out the following in order: Check out the following in order:
1. Setting up data-storage system (choose i or ii) 1. Setting up data-storage system (choose i or ii)
1. [Setting up using Postgres](database/postgres/configure-postgres.md)
1. [Setting up using Postgres](database/postgres/configure-postgres.md)
2. [Setting up NNTPChan system](srnd.md) 2. [Setting up NNTPChan system](srnd.md)
3. [Setting up feeds](feeds.md) 3. [Setting up feeds](feeds.md)