Files
stacks-puppet-node/api/tests/uwsgi_test.sh
Jude Nelson a820032f0e Update the deployment scripts for Blockstack Core, the API server, and the search endpoint
* no more ops script.  All docker images self-initialize
* All docker images have a tini init system
* Updated documentation
2018-08-23 15:56:46 -04:00

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