fix docs
This commit is contained in:
parent
efda3efd56
commit
eed0fc8001
@ -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)
|
||||||
|
@ -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
|
||||||
|
@ -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)
|
||||||
|
Reference in New Issue
Block a user