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

43 lines
961 B
Markdown
Raw Normal View History

2016-06-04 20:16:55 +05:00
Building the NNTPChan server
============================
This document will help you setup the NNTPChan server.
2015-08-04 20:10:30 +05:00
2016-06-04 20:16:08 +05:00
##Requirements
2015-08-04 20:10:30 +05:00
2016-06-04 20:16:08 +05:00
NNTPChan can run on the following operating systems:
2015-08-04 20:10:30 +05:00
2016-06-04 20:16:08 +05:00
* Linux
* FreeBSD
Dependancies:
* libsodium _1.0_ or _higher_
2015-08-04 20:10:30 +05:00
* imagemagick
2016-04-03 17:17:36 +05:00
* ffmpeg
2015-09-09 07:32:28 +05:00
* sox
2016-06-04 20:16:08 +05:00
* go _1.6_ or _higher_ **with redis driver**
* go _1.3_ or _higher_ **without redis driver**
2016-03-09 18:40:18 +05:00
2015-08-04 20:10:30 +05:00
## debian ##
2016-04-03 17:17:36 +05:00
Get `go 1.6` from [here](https://golang.org/dl/) for your platform
2015-10-21 19:17:40 +05:00
Get the dependancies
2015-10-21 19:45:49 +05:00
sudo apt-get update
2016-04-03 17:17:36 +05:00
sudo apt-get --no-install-recommends install imagemagick libsodium-dev ffmpeg sox build-essential git ca-certificates
2015-10-21 19:17:40 +05:00
2015-10-21 19:45:49 +05:00
Check out the repo and build it
2015-08-04 20:10:30 +05:00
2015-10-21 19:45:49 +05:00
git clone https://github.com/majestrate/nntpchan
cd nntpchan
./build.sh
2015-08-04 20:10:30 +05:00
2016-03-09 18:40:18 +05:00
If you want to build without supporting 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)