Archived
1
0

fix up docs

This commit is contained in:
jeff
2015-10-16 14:11:08 -04:00
parent 105b314ee7
commit 0d1c42b086
3 changed files with 39 additions and 17 deletions

View File

@@ -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
View 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