Skip to content

royokello/rust-deployer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

rust_deployer.bat

rust_deployer.bat is a batch script designed to automate the deployment of Rust applications to cloud servers. It ensures Rust is installed, builds the application from source, and creates a systemd service file to run a custom command specified per project.

Features

  • Checks and installs Rust on the server if not already available.
  • Uploads the Rust project's src folder and Cargo.toml to the server.
  • Builds the Rust project on the server.
  • Dynamically generates a systemd service file to run a specified command.
  • Automates the setup and deployment process for Rust applications.

Usage

Run the script with the necessary flags:

rust_deployer.bat -pn "<project_name>" -sa "<server_address>" -sk "<ssh_key_path>" -su "<ssh_username>" -cmd "<command>"

About

a batch script for deploying rust applications to ubuntu servers using https://github.com/royokello/cloud-deployer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published