Create two enviroments files in this folder named:
.env.develop
.env.production
- ask for env keys
install -g gatsby-cli
npm install
gatsby develop
- Go to local http://localhost:8000/
To build release package: Gatsby build
To test build on http://localhost:8000/: Gatsby serve
- ask for recaptcha secret
Run this line in firebase CLI
firebase functions:config:set recaptcha.secret="RECAPTCHA_SECRET"
https://console.firebase.google.com/project/digitalakramar/
Install firebase command line tools: npm install -g firebase-tools
Relase build to firebase hosting: firebase deploy -m "version messege