Fix path to alphabet wallets in sbercloud run.
This commit is contained in:
parent
a16576dbdc
commit
5a4ea4daad
1 changed files with 4 additions and 3 deletions
7
Makefile
7
Makefile
|
@ -80,11 +80,12 @@ setup-for-remote-devenv:
|
||||||
.PHONY: setup-for-sbercloud
|
.PHONY: setup-for-sbercloud
|
||||||
setup-for-sbercloud:
|
setup-for-sbercloud:
|
||||||
mkdir -p $(SETUP_DIR)
|
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 -r $(CONFIG_DIR)/alphabet-wallets $(SETUP_DIR)
|
||||||
cp $(CONFIG_DIR)/config.yaml $(SETUP_DIR)
|
|
||||||
cp -r $(CONFIG_DIR)/wallets $(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 NEO_MAINNET_ENDPOINT=http://$(NODE1):40333 > $(CURDIR)/.env
|
||||||
echo MORPH_ENDPOINT=http://$(NODE1):40332 >> $(CURDIR)/.env
|
echo MORPH_ENDPOINT=http://$(NODE1):40332 >> $(CURDIR)/.env
|
||||||
echo HTTP_GATE=http://$(NODE1):8888 >> $(CURDIR)/.env
|
echo HTTP_GATE=http://$(NODE1):8888 >> $(CURDIR)/.env
|
||||||
|
|
Loading…
Reference in a new issue