https://github.com/eswat2/rust-functions-example42
https://github.com/eswat2/rust-functions-example42
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/eswat2/rust-functions-example42
- Owner: eswat2
- License: mit
- Created: 2022-11-04T16:03:50.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-11-05T20:18:26.000Z (over 2 years ago)
- Last Synced: 2025-01-12T22:43:40.678Z (5 months ago)
- Language: Rust
- Size: 35.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Introduction
This example shows how to deploy Rust code on Netlify Functions.
Functions can be deployed using [Netlify's CLI](https://ntl.fyi/cli) as well as the Netlify Build environment.
You can copy this repository and deploy it to Netlify by clicking the button below.
After clicking that button, you’ll authenticate with GitHub and choose a repository name. Netlify will then automatically create a repository in your GitHub account with a copy of the files from the template. Next, it will build and deploy the new site on Netlify, bringing you to the site dashboard when the build is complete.
## Build & Deployment
### Deploying with CLI
You need to install Netlify's CLI first:
```
npm install -g netlify-cli
```Then run the following command:
```
netlify deploy --build
```### Deploying with Netlify Build
Create a new Netlify site and link it to your repository. Netlify will detect the Rust functions automatically, build and deploy them for you.