mirror of https://github.com/perkeep/perkeep.git
18 lines
423 B
Bash
Executable File
18 lines
423 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 \
|
|
-openbrowser=false \
|
|
-configfile=$Bin/blobserver-example/example-blobserver-config.json \
|
|
-listen=:3179 "$@"
|
|
|