For the code to work you need to generate control plane client. Ensure its up-to-date
schema is in ../api-schemas/control-plane.json and run generate client script:
bash scripts/generate_client.sh
You can run any of the CLI commands using the poetry run multinode prefix. For example:
poetry run multinode --help
To deploy your first project in the development mode, first run:
poetry run multinode login
You will be asked for an API key.
Once successfully logged in, create a test.py file with the following content:
from multinode import Multinode
mn = Multinode()
@mn.function()
def a():
print("Hello, Multinode A!")
@mn.function()
def b():
print("Hello, Multinode B!")and run
poetry run multinode deploy test.py --project-name my-first-project