Giter VIP home page Giter VIP logo

raisg-especial-1-a-amazonia-saqueada's Introduction

RAISG-Especial-1-A-Amazonia-saqueada

Especial: Olhando por dentro da floresta (Série de reportagens em REACT)

PRÉ REQUISITOS

INSTALAÇÃO DO SITE

docker run -v "$PWD":/usr/src/app -w /usr/src/app node:8 yarn remove webpack
docker run -v "$PWD":/usr/src/app -w /usr/src/app node:8 yarn remove webpack-cli

  • FAZENDO O BUILD docker-compose build

LIGANDO O DOCKER

docker-compose up (com visualização de log) docker-compose up -d (rodar em background)

DESLIGANDO O DOCKER

docker-compose down

HEROKU DEPLOY

https://blog.heroku.com/deploying-react-with-zero-configuration

INSTALAR HEROKU:

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

#HEROKU BASH

  • heroku run bash

DEPLOY EM infoam-template-video

https://infoam-template-video.herokuapp.com/

heroku git:remote -a infoam-template-multimedia git checkout related-news git push heroku master

DEPLOY EM infoam-template-multimedia

https://infoam-template-multimedia.herokuapp.com/

heroku git:remote -a infoam-template-video git checkout template-video git push heroku master

DEPLOY EM ifoam-template-mapas

https://infoam-template-multimedia.herokuapp.com/

heroku git:remote -a ifoam-template-mapas git checkout template-mapa git push heroku master

OUTROS PROCEDIMENTOS:

  • Apagando o local Storage do browser: Abrir o console dev do browser e rodar: localStorage.clear() localStorage.removeItem('elapsed-time')

#BUILD EM PRODUCAO SEM DOCKER 1- Instalar o yarn (falei node, mas estamos utilizando o yarn) https://yarnpkg.com/lang/en/docs/install/#debian-stable

2- Instalar as dependências Na raiz do projeto onde está o package.json rodar o comando:

yarn install

Vai instalar as dependencias na pasta node_modules

3- Fazer o build na raiz do projeto rodar o comando:

npm run build

raisg-especial-1-a-amazonia-saqueada's People

Contributors

andremotasc avatar italorufca avatar studiocuboweb avatar luizzdea avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.