Archived
1
0

reorder instructions for clairity

This commit is contained in:
jeff 2015-10-21 10:17:40 -04:00
parent c497a01e2d
commit 83f5855bba

View File

@ -9,10 +9,17 @@
* imagemagick * imagemagick
* ffmpegthumbnailer * ffmpegthumbnailer
* sox * sox
* git
## debian ## ## debian ##
Get the dependancies
# as root
apt update
apt-get --no-install-recommends install imagemagick libsodium-dev ffmpegthumbnailer sox build-essential git
Debian Jessie has go 1.3, we need 1.4 or higher to build the nntpchan daemon so let's do that first, assumes 64bit linux: Debian Jessie has go 1.3, we need 1.4 or higher to build the nntpchan daemon so let's do that first, assumes 64bit linux:
# #
@ -41,16 +48,7 @@ Debian Jessie has go 1.3, we need 1.4 or higher to build the nntpchan daemon so
echo 'export GOPATH=$HOME/go' >> $HOME/.bash_aliases echo 'export GOPATH=$HOME/go' >> $HOME/.bash_aliases
echo 'export PATH=$GOROOT/bin:$GOPATH/bin:$PATH' >> $HOME/.bash_aliases echo 'export PATH=$GOROOT/bin:$GOPATH/bin:$PATH' >> $HOME/.bash_aliases
# now build the daemon
We'll also need to install some dependancies that come with debian:
# as root
apt update
apt-get --no-install-recommends install imagemagick libsodium-dev ffmpegthumbnailer sox build-essential git
Now build the daemon:
go get -u github.com/majestrate/srndv2 go get -u github.com/majestrate/srndv2
It will create an executable at $GOPATH/bin/srndv2 which is already in our $PATH so it can be run by typing ``srndv2`` It will create an executable at $GOPATH/bin/srndv2 which is already in our $PATH so it can be run by typing ``srndv2``