mirror of
https://github.com/luxfi/explorer-v1.git
synced 2026-10-30 19:34:59 +00:00
Introduce dev container for streamlined Blockscout development - Add .devcontainer setup with pre-configured Elixir, Phoenix, and Node.js - Include PostgreSQL service in docker-compose.yml - Configure VS Code extensions and settings in devcontainer.json - Add bs script for common development tasks - Provide .blockscout_config.example for easy configuration - Enable GitHub Codespaces support for cloud-based development This change aims to reduce setup time, ensure consistency across environments, and allow developers to focus on core development tasks.
18 lines
560 B
Plaintext
18 lines
560 B
Plaintext
# The script is sourced from the main script, so the unsuccessful check must exit
|
|
# with non-zero code to terminate the main script.
|
|
|
|
source $(dirname $0)/utils
|
|
|
|
# Run the appropriate checks based on CHAIN_TYPE
|
|
case "${CHAIN_TYPE}" in
|
|
"arbitrum")
|
|
echo "Arbitrum sepcific checks"
|
|
# if the check is not successful, exit with code 1
|
|
check_server_availability ${INDEXER_ARBITRUM_L1_RPC}
|
|
check_server_accessibility ${INDEXER_ARBITRUM_L1_RPC}
|
|
;;
|
|
*)
|
|
echo "No special checks for CHAIN_TYPE: $CHAIN_TYPE"
|
|
;;
|
|
esac
|