https://github.com/eswat2/rust-functions-example
https://github.com/eswat2/rust-functions-example
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/eswat2/rust-functions-example
- Owner: eswat2
- License: mit
- Created: 2021-04-27T17:46:30.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-04-27T17:50:41.000Z (about 4 years ago)
- Last Synced: 2025-01-12T22:43:43.617Z (5 months ago)
- Language: Makefile
- Size: 12.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
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 as well as 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:
```
make deploy
```### Deploying with Netlify Build
Create a new Netlify site and link it to your repository. Netlify will detect the Rust toolchain automatically, build the code and deploy it for you.