Skip to content

Commit

Permalink
fix deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
odesenfans committed Sep 29, 2023
1 parent 2d33cac commit 2d7c802
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ We provide a script to deploy the VM functions.
Just run the following command to package the application and upload it to the aleph.im network.

```
python3 deployment/deploy_vms.py
python3 deployment/deploy_vrf_vms.py
```

If the deployment succeeds, the script will display links to the VMs on the aleph.im network. Example:
Expand All @@ -52,7 +52,7 @@ The coordinator can also be used directly from Python code.
First, deploy the executors using the deployment script, without the coordinator VM:

```
python3 deployment/deploy_vms.py --no-coordinator
python3 deployment/deploy_vrf_vms.py --no-coordinator
```

This will deploy an executor VM on the network and give you its ID.
Expand Down Expand Up @@ -109,7 +109,7 @@ pytest -v .

### Create a new release

1. Deploy the VMs: `python3 deployment/deploy_vms.py`
1. Deploy the VMs: `python3 deployment/deploy_vrf_vms.py`
2. Update the executor VM hash in the settings (Settings.FUNCTION) and create a Pull Request
3. Merge the Pull Request and create a new release on Github
4. Build and upload the package on PyPI: `python3 -m build && twine upload dist/*`
Expand Down
2 changes: 1 addition & 1 deletion deployment/deploy_vms.py → deployment/deploy_vrf_vms.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ async def main(args: argparse.Namespace):

def parse_args(args) -> argparse.Namespace:
parser = argparse.ArgumentParser(
prog="vm_supervisor", description="Aleph.im VM Supervisor"
prog="deploy_vrf_vms", description="Deploys the VRF VMs on the aleph.im network."
)
parser.add_argument(
"--no-coordinator",
Expand Down

0 comments on commit 2d7c802

Please sign in to comment.