fix up docs
This commit is contained in:
parent
105b314ee7
commit
0d1c42b086
15
README.md
15
README.md
@ -6,21 +6,6 @@ This repository contains resources used by the core daemon which is located [her
|
||||
|
||||
## getting started ##
|
||||
|
||||
After you [built and installed the daemon](doc/build.md) and [set up your database](doc/database.md), clone this repository and start up the daemon
|
||||
|
||||
# clone it
|
||||
git clone https://github.com/majestrate/nntpchan ~/nntpchan
|
||||
cd ~/nntpchan/
|
||||
|
||||
# set up the workspace
|
||||
srndv2 setup
|
||||
|
||||
# run the daemon
|
||||
srndv2 run
|
||||
|
||||
|
||||
Then open http://127.0.0.1:18000/ukko.html in your browser.
|
||||
|
||||
*PLEASE* report any bugs you find while setting up or building [(here)](https://github.com/majestrate/nntpchan/issues) so that the problems get fixed :^)
|
||||
|
||||
For peering requests, questions or support find me on [rizon](https://qchat.rizon.net/?channels=#nntpchan) as \__uguu\__
|
||||
|
@ -19,5 +19,7 @@ You'll get a prompt, enter the following:
|
||||
CREATE DATABASE srnd WITH ENCODING 'UTF8' OWNER srnd;
|
||||
\q
|
||||
|
||||
Change the username and password as desired.
|
||||
The username has to be the same as the database name.
|
||||
For demo purposes we'll use these credentials.
|
||||
These are default values, please change them later.
|
||||
|
||||
Now run it, [next](running.md)
|
||||
|
35
doc/running.md
Normal file
35
doc/running.md
Normal file
@ -0,0 +1,35 @@
|
||||
## Running
|
||||
|
||||
After you have [built the daemon](build.md) and [configured the database](database.md) you can run the daemon.
|
||||
|
||||
|
||||
check out the nntpchan repo
|
||||
|
||||
git clone https://github.com/majestrate/nntpchan
|
||||
|
||||
set up the daemon:
|
||||
|
||||
srndv2 setup
|
||||
|
||||
generate admin keys, don't loose them.
|
||||
|
||||
srndv2 tool keygen
|
||||
|
||||
add yourself as admin by adding your ``public key`` to the ``frontend`` section of ``srnd.ini``
|
||||
|
||||
...
|
||||
[frontend]
|
||||
enable=1
|
||||
add_admin=yourpublickeygoeshere
|
||||
... # leave the rest of the config values alone for now
|
||||
|
||||
|
||||
|
||||
run it:
|
||||
|
||||
srndv2 run
|
||||
|
||||
|
||||
Now open the browser up to http://127.0.0.1:18000/
|
||||
|
||||
To access the mod panel go to the [mod panel](http://127.0.0.1:18000/mod/) and use your ``private key`` to log in
|
Reference in New Issue
Block a user