perkeep/website/scripts/run-blobserver

17 lines
401 B
Bash
Executable File

#!/bin/sh
set -e
Bin=$(perl -MFindBin -e 'print $FindBin::Bin')
export CAMLI_PASSWORD=`cat $HOME/.config/camlistore/camorg-blobserver.pass`
export CAMLI_ROOT=$Bin/blobserver-example/root
cd $Bin/..
go run make.go \
-embed_static=false \
-targets=camlistore.org/server/camlistored && \
./bin/camlistored \
-configfile=$Bin/blobserver-example/example-blobserver-config.json \
-listen=:3179 "$@"