Skip to content

Commit

Permalink
change README
Browse files Browse the repository at this point in the history
  • Loading branch information
yan-bcw committed Aug 26, 2024
1 parent 28bc523 commit 6298d66
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions iac/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ Now that you have set up your Google Cloud project and created a bucket for the

Specify the version for the Indexer app with the `VERSION` variable defined in the [script](./scripts/indexer/indexer-service.sh#L4).
Specify the version for the Inserter app with the `VERSION` variable defined in the [script](./scripts/inserter/inserter-service.sh#L4).
Specify the project ID for the Inserter app with `PROJECT_ID` variable defined in the [script](./scripts/inserter/inserter-service.sh#L13).

Latest application releases can be found here: https://github.com/blockchain-etl/solana-etl/releases

Expand Down
3 changes: 2 additions & 1 deletion iac/scripts/inserter/inserter-service.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ SERVICE_EXEC_START="${SERVICE_WORKING_DIRECTORY}/main myFirstConsumer"
SERVICE_ENVIRONMENT="GOOGLE_APPLICATION_CREDENTIALS=${SERVICE_WORKING_DIRECTORY}/solana-bq.json"
BINARY_URL="https://github.com/BCWResearch/solana-etl/releases/download/inserter.${VERSION}/blockchain_etl_inserter"
ENV_FILE_PATH="${SERVICE_WORKING_DIRECTORY}/.env"
PROJECT_ID="your_project_id"

# Check if the script is being run as root
if [ "$EUID" -ne 0 ]; then
Expand Down Expand Up @@ -38,7 +39,7 @@ chmod +x ${SERVICE_WORKING_DIRECTORY}/main
# Create the .env file
cat <<EOF > $ENV_FILE_PATH
QUEUE_NAME="solana-etl"
BQ_PROJECT_ID="<your project ID>"
BQ_PROJECT_ID="$PROJECT_ID"
BQ_DATASET_ID="crypto_solana_mainnet_us"
RABBITMQ_USER="jb"
RABBITMQ_PASS="jb"
Expand Down

0 comments on commit 6298d66

Please sign in to comment.