Adjust provisioning CLI usage

pull/543/head
Kieran Prasch 2018-11-09 21:24:39 +01:00
parent 7b6a65f37b
commit cb1344263c
3 changed files with 4 additions and 4 deletions

View File

@ -61,7 +61,7 @@ nucypher = {editable = true, path = "."}
[scripts]
install-solc = "./scripts/install_solc.sh"
nucypher = "python3 scripts/cli.py"
nucypher = "python3 nucypher/cli.py"
[pipenv]
allow_prereleases = true

View File

@ -104,7 +104,7 @@
register: ursula_passphrase
- name: "Configure Ursula"
shell: "pipenv run nucypher --federated-only configure install --ursula --rest-host {{inventory_hostname}}"
shell: "pipenv run nucypher configure install --rest-host {{inventory_hostname}}"
args:
chdir: ./code
vars:
@ -118,7 +118,7 @@
- name: "Get Ursula Seed Node Config (and more)"
slurp:
src: ".local/share/nucypher/ursula.config"
src: "~/.local/share/nucypher/ursula.config"
register: ursula_seed_node_config
run_once: true

View File

@ -5,7 +5,7 @@ Description="Run 'Ursula', a NuCypher Staking Node."
User=ubuntu
Type=simple
Environment="NUCYPHER_KEYRING_PASSPHRASE={{ursula_passphrase.stdout}}"
ExecStart={{env_dir.stdout}}/bin/nucypher ursula run --teacher-uri {{ seed_node_metadata.checksum_address }}@{{ seed_node_metadata.rest_host }}:{{seed_node_metadata.rest_port}}
ExecStart={{env_dir.stdout}}/bin/nucypher ursula run --teacher-uri {{ seed_node_metadata.checksum_address }}@https://{{ seed_node_metadata.rest_host }}:{{seed_node_metadata.rest_port}}
[Install]
WantedBy=multi-user.target