ammend docs, update board.mustache
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
* go 1.4 or higher
|
||||
* libsodium 1.0 or higher
|
||||
* imagemagick
|
||||
* RabbitMQ
|
||||
|
||||
## debian ##
|
||||
|
||||
@@ -43,11 +44,10 @@ We'll also need to install some dependancies that come with debian:
|
||||
|
||||
# as root
|
||||
|
||||
apt-get update
|
||||
apt-get install libmagickwand-dev libsodium-dev
|
||||
apt update
|
||||
apt install imagemagick libsodium-dev
|
||||
|
||||
|
||||
Now you can build the daemon:
|
||||
Now build the daemon:
|
||||
|
||||
go get github.com/majestrate/srndv2
|
||||
go install github.com/majestrate/srndv2
|
||||
|
33
doc/setup.md
Normal file
33
doc/setup.md
Normal file
@@ -0,0 +1,33 @@
|
||||
|
||||
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