https://github.com/robwalkerco/caerurfapugs
Caerurfa Pugs website with Gatsbyjs, Serverless and Surge.sh
https://github.com/robwalkerco/caerurfapugs
gatsbyjs reactjs serverless website
Last synced: 2 months ago
JSON representation
Caerurfa Pugs website with Gatsbyjs, Serverless and Surge.sh
- Host: GitHub
- URL: https://github.com/robwalkerco/caerurfapugs
- Owner: robwalkerco
- License: mit
- Created: 2017-08-04T23:35:28.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-08T21:28:27.000Z (almost 9 years ago)
- Last Synced: 2026-01-03T21:10:05.605Z (6 months ago)
- Topics: gatsbyjs, reactjs, serverless, website
- Language: JavaScript
- Homepage: http://www.caerurfapugs.co.uk
- Size: 7.37 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# www.caerurfapugs.co.uk
The Caerurfa Pugs Website
Powered by [Gatsbyjs](https://www.gatsbyjs.org), [Serverless](https://serverless.com) and [Surge.sh](https://surge.sh)
## Develop
The following will run gatsbty develop.
```
npm run develop
```
## Deploy
The following will clean the public folder, build Gatsbyjs, deploy to surge.sh and deploy to the production serverless stage.
```
npm run deploy
```
## Working with Serverless
[Serverless Docs](https://serverless.com/framework/docs/providers/aws/cli-reference/)
### Deploy the project to develop
```
serverless deploy
```
### Deploy a single function to develop (faster)
```
serverless deploy function --function {function name}
```
### Testing
Functions can be best tested from the API Gateway console, to ensure the data Lambda receives is accurate.