https://github.com/mraerino/netlify-functions-readfile
https://github.com/mraerino/netlify-functions-readfile
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/mraerino/netlify-functions-readfile
- Owner: mraerino
- Created: 2020-01-30T18:55:46.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-02-24T16:51:47.000Z (about 4 years ago)
- Last Synced: 2025-05-07T22:57:22.941Z (6 days ago)
- Language: JavaScript
- Homepage:
- Size: 1000 Bytes
- Stars: 6
- Watchers: 1
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Example for accessing local files in Netlify Functions
## Try it out!
### Via `netlify-cli`
```
npm -g i netlify-cli
netlify sites:create --name my-test-site
netlify link
netlify deploy --prod
```### Via netlify build
1. Fork this repository
1. Go to https://app.netlify.com/start
1. Create a site from your fork