Fix path to alphabet wallets in sbercloud run.

This commit is contained in:
Vladimir Domnich 2022-07-15 15:42:01 +04:00
parent a16576dbdc
commit 5a4ea4daad

View file

@ -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