The Stellar Laboratory is a suite of tools to help one learn about exploring the Stellar network. See it in action: https://www.stellar.org/laboratory/.
yarn start
Testing hardware wallets requires an HTTPS connection to enable U2F. The
recommended way to do this is with ngrok
. Once
downloaded and authenticated, start ngrok, and tell the laboratory to start with
a public URL.
./ngrok http 3000
# in a separate terminal
# the subdomain will appear in ngrok's output
yarn start --public randomsubdomain.ngrok.io
yarn build
To build a production docker image using a clean docker build environment:
make docker-build
# or directly with docker
docker build --build-arg AMPLITUDE_KEY=${AMPLITUDE_KEY} -t lab:localbuild .
To build and run production build locally:
yarn production
# or
yarn prod:build
yarn prod:serve
Production uses Amplify to emit metrics, so to fully emulate a production build, you'll need to set an AMPLITUDE_KEY
environment variable in the shell you start a build from.
The docs.md file contains code documentation on the laboratory. The docs.md is only relevant for developing the laboratory.