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
Jeff Becker 61c35b7652
* change feed defaults to be sane
* update docs

* add git revision to version

* bump to 2.5.1
2017-09-24 10:00:03 -04:00

51 lines
972 B
Markdown

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 1.9
* GNU make
## Debian instructions
These are installation instructions for Debian.
### Install Go
Install the Go programming language version _1.9_ from the [Go website](https://golang.org/dl/).
### 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](setting-up.md)