Create Project
land-cli is a command line tool to help you create your project. You can read install-land-cli section in Get Started.
Preperations
Before creating a project, you need to prepare the following things:
- Install Rust and Cargo. You can follow the instructions in rustup.
- Install
wasm32-wasitarget. You can runrustup target add wasm32-wasito install it.
Create a local project
After installing land-cli, you can create a project by running:
land-cli init hello-world
It will create a project named hello-world in current directory with basic Rust template. Then you can build and run the project locally by running:
cd hello-world
land-cli build
land-cli serve
You can visit http://localhost:8888 to test your project.
Next, you can read Deploy project to create and deploy your project.