0.6.17 • Published 5 years ago
aws-node-launcher v0.6.17
AWS Node Launcher
The blocklet that helps you manage ABT Node instances across AWS regions.
Getting started
Configuration
Put following contents in your local .env
:
SKIP_PREFLIGHT_CHECK=true
# server side
BLOCKLET_PORT="3030"
BLOCKLET_APP_SK="0x7ebe8ba807cb217c57563aeb96b5c4c755af29a4bb935d77b1af549edaddf3a09bff6e162bd8a2fbfb6284921ecc243c209339f2e14f5eb64c5f7e5dccdc6700"
BLOCKLET_APP_ID="zNKn6o1t7CPMWU4wrbNnLuzKvoPWMVyhVgaf"
BLOCKLET_DATA_DIR="/tmp/abtnode/aws-node-launcher"
BLOCKLET_BASE_URL="http://192.168.1.2:3030"
REACT_APP_APP_NAME="AWS Node Launcher"
REACT_APP_API_PREFIX=""
Besides, you need to set up AWS credential environment variables before develop/running this blocklet. Please checkout this link for detailed instructions: https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/loading-node-credentials-environment.html.
Start hacking
mkdir -p /tmp/abtnode/aws-node-launcher
npm run start:server
npm run start:client
Deploy to local ABT Node
abtnode deploy .