12 lines
246 B
Bash
Executable File
12 lines
246 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -x
|
|
|
|
bw config server ${BW_HOST}
|
|
bw login --apikey
|
|
export BW_SESSION=$(bw unlock --passwordenv BW_PASSWORD --raw)
|
|
bw unlock --check
|
|
|
|
echo 'Running `bw server` on port 8087'
|
|
bw serve --hostname 0.0.0.0 #--disable-origin-protection
|