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/build.md
Tristan B. Kildaire 030a9e58e8 Update build.md
2016-06-04 17:31:24 +02:00

51 lines
1.2 KiB
Markdown

Building the NNTPChan server
============================
This document will help you setup the NNTPChan server from the source code.
##Requirements
NNTPChan can run on the following operating systems:
* Linux
* FreeBSD
Dependancies:
* libsodium _1.0_ or _higher_
* imagemagick
* ffmpeg
* sox
* go _1.6_ or _higher_ **with redis driver**
* go _1.3_ or _higher_ **without redis driver**
##Debian instructions
These are installation instructions for Debian.
###Install Go
Install the Go programming language version _1.6_ from the [Go website](https://golang.org/dl/).
###Install the dependancies
sudo apt-get update
sudo apt-get --no-install-recommends install imagemagick libsodium-dev ffmpeg sox build-essential git ca-certificates
###Get the NNTPChan source
git clone https://github.com/majestrate/nntpchan --depth=1
cd nntpchan
###Now compile!
If you want to compile with Redis support (recommended - Redis is easy to use) then run:
./build.sh
If you want to build without support for Redis then build with the `--no-redis` flag
./build.sh --no-redis
To run eiter run `./srndv2 setup` and browse to http://127.0.0.1:18000 or configure [by hand](database.md)