Introduction

This tutorial will have you deploying a Rust app to Square Cloud in minutes.

The tutorial assumes that you have a Square Cloud account, and that you have Rust installed locally.

Required Files

  • Main file.
  • Cargo.toml (dependency file).
  • squarecloud.app (file that contains the Square Cloud configuration).

Preparing Files for Upload

Before hosting your project on Square Cloud, you must first have the files of your project properly configured, so that you can host it later.

Create your squarecloud.app configuration file.

After the files of your project are ready just zip them in .zip format before uploading to Square Cloud.

Uploading Files to Square Cloud

After preparing your project files, you can now upload them to Square Cloud and host your project. Access the Square Cloud Dashboard and upload your project files.