mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-04-23 03:20:19 +08:00
* no more ops script. All docker images self-initialize * All docker images have a tini init system * Updated documentation
14 lines
356 B
Bash
Executable File
14 lines
356 B
Bash
Executable File
#!/bin/bash
|
|
|
|
ALT_HOME=
|
|
if [ -n "$VIRTUAL_ENV" ]; then
|
|
ALT_HOME="-H $VIRTUAL_ENV"
|
|
fi
|
|
|
|
if ! [ -d "templates" ]; then
|
|
echo 'Run thi script from the api/ directory (./templates must exist)'
|
|
exit 1
|
|
fi
|
|
|
|
PUBLIC_NODE=True DEBUG=True BSK_API_TMPLTDIR=$(realpath ./templates/) uwsgi --plugins http,python $ALT_HOME --ini ./deployment/blockstack_api.ini
|