Getting Started
Last updated
Was this helpful?
Last updated
Was this helpful?
AssemblyLift currently requires that you have the Rust toolchain installed. The easiest way to do this is via . In addition to the "default" toolchain targeting your system, you will also need to install the wasm32 toolchain with rustup toolchain install wasm32-unknown-unknown
.
AssemblyLift provides a Command Line Interface (CLI) called asml
. The CLI is primarily responsible for building & deploying your application.
You can install asml
using cargo
with:
Running asml help
will print the CLI version, as well as a list of commands:
You can create a new project with the init
command. This will scaffold a basic project structure with a single service, containing a single function.
If you like, you can verify everything is working by building the project with cast
and then deploying it with bind
.
Each function is stored in a sub-directory under the service directory. Function directories are structured according to the given programming language.
The default infrastructure provider for AssemblyLift is AWS Lambda + API Gateway, which require an account.
is free, and both AWS Lambda and Amazon API Gateway are .
AssemblyLift projects and services are defined in documents called manifests. Each project must have a manifest at the project root called assemblylift.toml, and each service must have a manifest at the service root called service.toml.