Archived
1
0

update docs

This commit is contained in:
Jeff Becker 2017-09-12 12:47:41 -04:00
parent d97f1332d6
commit 683d7b7179
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05
2 changed files with 9 additions and 43 deletions

View File

@ -1,4 +1,4 @@
#How to install nntpchan on Debian 8.5 Jessie # How to install nntpchan on Debian stable
Install the initial dependencies: Install the initial dependencies:
@ -36,6 +36,6 @@ cd nntpchan
make make
``` ```
Now you can proceed with [setting up NNTPChan](setting-up.md). When you get to the "set paths to external programs" step, you should change the ffmpeg path to `/usr/bin/avconv`. Now you can proceed with [setting up NNTPChan](setting-up.md). When you get to the "set paths to external programs" step.
Run `./srndv2 setup` and follow the instructions [here](setting-up.md). Run `./srndv2 setup` and follow the instructions [here](setting-up.md).

View File

@ -8,7 +8,6 @@ This document will help you build the NNTPChan software from the source code.
NNTPChan can run on the following operating systems: NNTPChan can run on the following operating systems:
* Linux * Linux
* Instructions are available for Debian and [Trisquel](#trisquel-instructions-wip).
* FreeBSD * FreeBSD
Dependancies: Dependancies:
@ -16,7 +15,7 @@ Dependancies:
* imagemagick * imagemagick
* ffmpeg * ffmpeg
* sox * sox
* go _1.6_ or higher * go 1.9
* GNU make * GNU make
## Debian instructions ## Debian instructions
@ -32,6 +31,11 @@ Install the Go programming language version _1.9_ from the [Go website](https://
sudo apt-get update sudo apt-get update
sudo apt-get --no-install-recommends install imagemagick ffmpeg sox build-essential git ca-certificates postgresql postgresql-client sudo apt-get --no-install-recommends install imagemagick ffmpeg sox build-essential git ca-certificates postgresql postgresql-client
#### Configure PostgreSQL:
# su - postgres -c "createuser --pwprompt --encrypted srnd"
# su - postgres -c "createdb srnd"
### Get the NNTPChan source ### Get the NNTPChan source
git clone https://github.com/majestrate/nntpchan --depth=1 git clone https://github.com/majestrate/nntpchan --depth=1
@ -43,41 +47,3 @@ Run `make`:
make make
## Trisquel instructions (WIP)
These are installation instructions for Trisquel.
### Install Go
Run this to install Go.
sudo apt-get update
sudo apt-get install golang-1.6
### Installing dependancies (standard)
sudo apt-get --no-install-recommends install imagemagick sox build-essential git ca-certificates postgresql postgresql-client
### Installing dependancies (`ffmpeg` is not available in Trisquel repos - there must be compiled)
This will install `ffmpeg` to `/usr/local/bin/ffmpeg`:
git clone https://git.ffmpeg.org/ffmpeg.git ffmpeg --depth=1
cd ffmpeg
./configure --disable-yasm
make
sudo make install
cd ..
rm -rf ffmpeg
### Get the NNTPChan source
git clone https://github.com/majestrate/nntpchan --depth=1
cd nntpchan
### Now compile!
run `make`
make