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

38 lines
725 B
Markdown
Raw Normal View History

2015-08-04 20:10:30 +05:00
# building the daemon #
## requirements ##
* linux or freebsd
* libsodium 1.0 or higher
* imagemagick
2015-09-09 07:32:28 +05:00
* ffmpegthumbnailer
* sox
2015-08-04 20:10:30 +05:00
2016-03-09 18:40:18 +05:00
## supported go versions ##
* `go 1.6` or higher with redis driver
* `go 1.3` or higher without redis driver
2015-08-04 20:10:30 +05:00
## debian ##
2015-10-21 19:17:40 +05:00
Get the dependancies
2015-10-21 19:45:49 +05:00
sudo apt-get update
sudo apt-get --no-install-recommends install imagemagick libsodium-dev ffmpegthumbnailer sox build-essential git golang 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
2015-10-16 23:14:42 +05:00
Now configure the database. [next](database.md)