Cloud
GitbookKb2021-02-16
📑 Heroku
$ export heroku=~/Downloads/heroku-win32-x86/heroku/bin/heroku
$ heroku login
$ cd news-api-react
$ heroku git:remote -a news-api-react
$ git init
$ git add .
$ git commit -am"make it better"
$ git push heroku master
$ heroku logs --tailhttps://news-api-react.herokuapp.com/NOT work:426Upgrade required:
Since 22 May 2020 they changed the liberties of the free developer keys and now they reject any request using that key that is not coming from localhost.
📑 gh-pages
for a create-react-app project:
- yarn add gh-pages
- setting: git pages
- homepage:
- predeploy: yarn build
- deploy: gh-pages -d build
