Skip to content

Latest commit

 

History

History
27 lines (23 loc) · 1.11 KB

README-DEPLOY-MPRJ.md

File metadata and controls

27 lines (23 loc) · 1.11 KB

How to deploy

This file describes the steps to deploy a new version of InLoco into MPRJ servers.

  1. Run npm run build
  2. Rename static/js.bundle.js to static/js.bundle.[YYYYMMDD].js
  3. Rename static/vendor.bundle.js to static/vendor.bundle.[YYYYMMDD].js
  4. Edit static/index.html and change the js paths to include [YYYYMMDD]
  5. Move the contents of the static directory to a new folder. Name it inloco.
  6. Zip that folder, so you'll have a file inloco.zip.
  7. Copy that file to X:\[Homologacao\Estatico|Produção]
  8. Open a GLPI (or ask someone to do it).

GLPI

  1. Open http://p-glpidti01.pgj.rj.gov.br and log in with your MPRJ account
  2. Assistência > Chamados
  3. Click on +
  4. Fill the fields:
    • Categoria: Deploy Homologação / Produção (open one GLPI for each one)
    • Ator: *mpemmapas.cadg
    • Elementos associados: MP em Mapas (always)
    • Título: Deploy Homologação / Produção Estático InLoco
    • Descrição: The path X:...
    • Prioridade: Média or higher if needed
    • Don't attach the zip file.
  5. After the GLPI is done, open it and approve or refuse it.