Files
stacks-puppet-node/integration_tests/bin/blockstack-browser-test-mode.sh
Aaron Blankstein 93d07d68b3 This reverts us *all* the way back to 523cf405d7 -- this removes all changes to support the token file from this branch.
Revert "added example request and response for PUT /v1/wallet/keys/owner to api docs"

This reverts commit d52ee4b31e.

Revert "cutting down on the verbosity of logging outputs -- registrar now only prints 1 line on wakeups. storage drivers are concatenated into 1 line"

This reverts commit 87e3e7ab0d.

Revert "adding dropbox as a default storage driver to load, and switched default 'required' drivers to 'disk,dropbox'"

This reverts commit 9471b0a20a.

Revert "adding test case for issue 483, which *also* required fixing the app session schema to handle empty string methods a little bit more gracefully"

This reverts commit 32efc99d62.

Revert "bugfix for the address reencoding in get_zonefile -- checks to see if the address is an address before trying to reencode"

This reverts commit 1488013b93.

Revert "Merge branch 'rc-0.14.3' of github.com:blockstack/blockstack-core into rc-0.14.3"

This reverts commit f75ab67960, reversing
changes made to fe863bcd3c.

Revert "don't create the metadata dir"

This reverts commit fe863bcd3c.

Revert "make all metadata directories inside the critical section"

This reverts commit e66236abd2.

Revert "don't cast 'None' to string by accident"

This reverts commit c6250d5349.

Revert "force string"

This reverts commit e72d43d0be.

Revert "add unbound proxy variable"

This reverts commit 7f1f7e9731.

Revert "return raw zonefile"

This reverts commit 51e858428d.

Revert "force string"

This reverts commit 1ce371644f.

Revert "force string"

This reverts commit 5353cb1015.

Revert "require virtualchain rc-0.14.3 and jsontokens-py 0.0.4"

This reverts commit 346f042db7.

Revert "Merge branch 'rc-0.14.3' of https://github.com/blockstack/blockstack-core into rc-0.14.3"

This reverts commit 1fa1de3e54, reversing
changes made to 523cf405d7.
2017-07-10 14:59:23 -04:00

63 lines
1.2 KiB
Bash
Executable File

#!/bin/bash
# launcher for browser/portal
PORTAL_DIR='/tmp/blockstack-portal'
if ! [ -d "$PORTAL_DIR" ]; then
echo ""
echo "Missing $PORTAL_DIR"
echo "Please make sure Blockstack Browser is available in that directory"
echo "(https://github.com/blockstack/blockstack-browser)"
echo ""
exit 1
fi
TEST_PID=
DEV_PROXY_PID=
# start environment
export BLOCKSTACK_TEST_CLIENT_RPC_PORT=6270
blockstack-test-scenario --interactive-web 3001 blockstack_integration_tests.scenarios.portal_empty_namespace 2>&1 | tee portal_test.log &
TEST_PID=$!
# wait for it to begin serving
while true; do
curl http://localhost:3001 >/dev/null 2>/dev/null
if [ $? -eq 0 ]; then
break
else
sleep 1
fi
done
pushd "$PORTAL_DIR" >/dev/null
echo ""
echo "Starting Browser CORS proxy"
echo ""
npm run dev-proxy 2>&1 | tee "$PORTAL_DIR/cors-proxy.log" &
DEV_PROXY_PID=$!
sleep 5
echo ""
echo "Starting Blockstack Browser"
echo ""
npm run dev
echo ""
echo "Test framework control panel at http://localhost:3001"
echo "Blockstack Browser at http://localhost:3000"
popd
echo "cleaning up"
if [ -n "$TEST_PID" ]; then
kill "$TEST_PID"
fi
if [ -n "$DEV_PROXY_PID" ]; then
kill "$DEV_PROXY_PID"
fi