perkeep/website/scripts/run-blobserver

18 lines
423 B
Plaintext
Raw Normal View History

#!/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 \
-openbrowser=false \
-configfile=$Bin/blobserver-example/example-blobserver-config.json \
-listen=:3179 "$@"