React/blockfrost-js deployed on Heroku, for Porter deployment switch to porter
branch.
This project was bootstrapped with Create React App.
The scripts in /package.json
are meant to be run by Heroku.
"scripts": {
"start": "cd backend && npm start",
"build": "cd frontend && npm run build"
}
sudo snap install heroku
heroku login
heroku git:remote -a <HEROKU_APP_NAME>
Config vars at Heroku app dashboard:
- HEROKU = just an arbitrary boolean to indicate local vs Heroku environment
- BF_PID = Blockfrost API Key
git status
git add .
git commit -m "Commit message"
git push heroku main