Skip to content

Osao-Alvin/rocket_nash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rocket

1-click-deploy

This sample demonstrates how to deploy a very simple Rocket app. Rocket is a web framework for Rust.

Prerequisites

  1. Download Defang CLI
  2. (Optional) If you are using Defang BYOC authenticate against your AWS account
  3. (Optional for local development) Docker CLI

Development

To run the application locally, you can use the following command:

docker compose up

Deployment

Note

Download Defang CLI

Defang Playground

Deploy your application to the defang playground by opening up your terminal and typing defang up.

BYOC (AWS)

If you want to deploy to your own cloud account, you can use Defang BYOC:

  1. Authenticate your AWS account, and check that you have properly set your environment variables like AWS_PROFILE, AWS_REGION, AWS_ACCESS_KEY_ID, and AWS_SECRET_ACCESS_KEY.
  2. Run defang --provider=aws up in a terminal that has access to your AWS environment variables.

Title: Rocket

Short Description: A simple Rocket app.

Tags: Rocket

Languages: Rust

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published