From 5a4ea4daad0f070f59961fcef66cc7ab69ca9f90 Mon Sep 17 00:00:00 2001 From: Vladimir Domnich Date: Fri, 15 Jul 2022 15:42:01 +0400 Subject: [PATCH] Fix path to alphabet wallets in sbercloud run. --- Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 2e1bc8fa..675d4be1 100644 --- a/Makefile +++ b/Makefile @@ -80,11 +80,12 @@ setup-for-remote-devenv: .PHONY: setup-for-sbercloud setup-for-sbercloud: mkdir -p $(SETUP_DIR) - # Copy files from configuration directory to setup directory + # Copy wallets from configuration directory to setup directory cp -r $(CONFIG_DIR)/alphabet-wallets $(SETUP_DIR) - cp $(CONFIG_DIR)/config.yaml $(SETUP_DIR) cp -r $(CONFIG_DIR)/wallets $(SETUP_DIR) - # Generate .env file (NEO_MAINNET_ENDPOINT might be incorrect) + # Copy neofs-adm config to setup directory (and adjust path to wallets) + cat $(CONFIG_DIR)/config.yaml | sed "s|alphabet-wallets:.*|alphabet-wallets: /.setup/alphabet-wallets|" > $(SETUP_DIR)/config.yaml + # Generate .env file (NEO_MAINNET_ENDPOINT might be incorrect, but we don't use it) echo NEO_MAINNET_ENDPOINT=http://$(NODE1):40333 > $(CURDIR)/.env echo MORPH_ENDPOINT=http://$(NODE1):40332 >> $(CURDIR)/.env echo HTTP_GATE=http://$(NODE1):8888 >> $(CURDIR)/.env