ammend docs and readme
This commit is contained in:
parent
6e4c38bc95
commit
902650ac00
@ -15,12 +15,9 @@ After you [built and installed the daemon](doc/build.md) and [set up your databa
|
||||
# set up the workspace
|
||||
srndv2 setup
|
||||
|
||||
# run the core daemon
|
||||
# run the daemon
|
||||
srndv2 run
|
||||
|
||||
# run the worker threads
|
||||
srndv2 worker
|
||||
|
||||
|
||||
Then open http://127.0.0.1:18000/ukko.html in your browser.
|
||||
|
||||
|
33
doc/setup.md
33
doc/setup.md
@ -1,33 +0,0 @@
|
||||
|
||||
Postgres on Debian:
|
||||
|
||||
|
||||
# install
|
||||
apt install postgresql postgresql-client
|
||||
|
||||
|
||||
Setting up postgres (as root)
|
||||
|
||||
# become postgres user
|
||||
su postgres
|
||||
# spawn postgres admin shell
|
||||
psql
|
||||
|
||||
You'll get a prompt, enter the following:
|
||||
|
||||
CREATE ROLE srnd WITH LOGIN PASSWORD 'srndpassword';
|
||||
CREATE DATABASE srnd WITH ENCODING 'UTF8' OWNER srnd;
|
||||
\q
|
||||
|
||||
Change the username and password as desired.
|
||||
|
||||
RabbitMQ on Debian:
|
||||
|
||||
# install
|
||||
apt install rabbitmq-server
|
||||
|
||||
Copy the rabbitmq configs and restart rabbitmq
|
||||
|
||||
# as root
|
||||
cp ~/nntpchan/contrib/configs/rabbitmq/* /etc/rabbitmq/
|
||||
systemctl restart rabbitmq-server
|
Reference in New Issue
Block a user