Files
Alexander KolotovandGitHub 75ddfbcd35 chore: ability to work with Blockscout code base within a VSCode devcontainer (#10838)
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.
2024-10-04 08:48:34 -06:00

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