https://github.com/shuttle-hq/shuttle-examples
Examples for using Shuttle with different frameworks and resources
https://github.com/shuttle-hq/shuttle-examples
Last synced: about 1 month ago
JSON representation
Examples for using Shuttle with different frameworks and resources
- Host: GitHub
- URL: https://github.com/shuttle-hq/shuttle-examples
- Owner: shuttle-hq
- Created: 2022-11-02T08:01:27.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-05-07T23:38:11.000Z (about 1 month ago)
- Last Synced: 2025-05-15T13:01:11.635Z (about 1 month ago)
- Language: Rust
- Homepage: https://www.shuttle.dev
- Size: 1.42 MB
- Stars: 175
- Watchers: 6
- Forks: 73
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Shuttle Examples
This is a collection of some example apps that show what you can deploy on Shuttle.
The examples in this repository, consists of *"Hello, world!"* examples of all officially supported web frameworks and how to combine them with Shuttle resources, but also fullstack templates and more.
## How to clone, run and deploy an example
To clone an example, use the `init` command of the [CLI](https://docs.shuttle.dev/getting-started/installation) and specify the git URL and optional subfolder:
```bash
shuttle init --from https://github.com/shuttle-hq/shuttle-examples --subfolder axum/hello-world### Other forms:
# GitHub prefix. Change to 'gl:' or 'bb:' for GitLab or BitBucket
shuttle init --from gh:username/repository
# By default, 'gh:' (GitHub) is assumed
shuttle init --from username/repository# From local folder
shuttle init --from ./path/to/folder
shuttle init --from ../../another/folder
shuttle init --from /home/user/some/folder# Clone into 'my-folder', and use the project name 'my-project-name'
shuttle init --from username/repository --name my-project-name my-folder
```Then, you can navigate into the folder where it was created, and use these commands to run the example locally, and to deploy it.
```bash
# Run locally
shuttle run# Deploy to Shuttle
shuttle deploy
```