github.com/olivere/camlistore@v0.0.0-20140121221811-1b7ac2da0199/website/scripts/run-blobserver (about)

     1  #!/bin/sh
     2  
     3  set -e
     4  Bin=$(perl -MFindBin -e 'print $FindBin::Bin')
     5  
     6  export CAMLI_PASSWORD=`cat $HOME/.config/camlistore/camorg-blobserver.pass`
     7  export CAMLI_ROOT=$Bin/blobserver-example/root
     8  
     9  cd $Bin/..
    10  go run make.go \
    11  	-embed_static=false \
    12  	-targets=camlistore.org/server/camlistored && \
    13  ./bin/camlistored \
    14  	-openbrowser=false \
    15  	-configfile=$Bin/blobserver-example/example-blobserver-config.json \
    16  	-listen=:3179 "$@"
    17