2011-02-02 23:10:16 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
set -e
|
2013-07-02 05:26:44 +00:00
|
|
|
Bin=$(perl -MFindBin -e 'print $FindBin::Bin')
|
2011-02-02 23:10:16 +00:00
|
|
|
|
2013-06-24 22:50:49 +00:00
|
|
|
export CAMLI_PASSWORD=`cat $HOME/.config/camlistore/camorg-blobserver.pass`
|
2013-07-02 05:26:44 +00:00
|
|
|
export CAMLI_ROOT=$Bin/blobserver-example/root
|
2011-06-21 02:42:30 +00:00
|
|
|
|
2013-07-02 05:26:44 +00:00
|
|
|
cd $Bin/..
|
2013-06-24 22:50:49 +00:00
|
|
|
go run make.go \
|
|
|
|
-embed_static=false \
|
|
|
|
-targets=camlistore.org/server/camlistored && \
|
|
|
|
./bin/camlistored \
|
2013-08-26 21:43:19 +00:00
|
|
|
-openbrowser=false \
|
2013-07-02 05:26:44 +00:00
|
|
|
-configfile=$Bin/blobserver-example/example-blobserver-config.json \
|
2013-06-24 22:50:49 +00:00
|
|
|
-listen=:3179 "$@"
|
2011-02-02 23:10:16 +00:00
|
|
|
|