Especial: Olhando por dentro da floresta (Série de reportagens em REACT)
- Instalar o docker: https://docs.docker.com/install/
- Instalar o git: https://git-scm.com/downloads
-
CLONANDO O SITE DO GITHUB git clone https://github.com/studiocuboweb/infoamazonia-por-dentro-da-floresta.git
-
INSTALANDO O NPM E AS DEPENDENCIAS docker run -v "$PWD":/usr/src/app -w /usr/src/app node:8 yarn install
-
FAZENDO O BUILD docker-comose build
docker-compose up (com visualização de log) docker-compose up -d (rodar em background)
docker-compose down
https://blog.heroku.com/deploying-react-with-zero-configuration
https://devcenter.heroku.com/articles/heroku-cli
-
Logar no heroku com o login e senha cadastrados no site heroku login
-
verificando APP atual heroku apps:info
https://infoam-template-video.herokuapp.com/
heroku git:remote -a infoam-template-multimedia git checkout related-news git push heroku master
https://infoam-template-multimedia.herokuapp.com/
heroku git:remote -a infoam-template-video git checkout template-video git push heroku master