Archived
1
0
This repository has been archived on 2023-08-12. You can view files and clone it, but cannot push or open issues or pull requests.
nntpchan/doc/building.md
2019-04-07 08:52:49 -04:00

977 B

Building NNPTChan

This document will help you build the NNTPChan software from the source code.

Requirements

NNTPChan can run on the following operating systems:

  • Linux
  • FreeBSD

Dependancies:

  • imagemagick
  • ffmpeg
  • sox
  • go
  • GNU make

Debian instructions

These are installation instructions for Debian.

Install Go

Install the latest version of the Go programming language from the Go website.

Install the dependancies

sudo apt-get update
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

git clone https://github.com/majestrate/nntpchan --depth=1
cd nntpchan

Now compile!

Run make:

make

Next set up the daemon