CMCuritiba / extranet-cmc

Extranet da Câmara Municipal de Curitiba baseado em Plone 6 - Volto.
GNU General Public License v3.0
2 stars 1 forks source link

Ajustar arquivos de configuração da pasta devops e rodar o make deploy localmente. #54

Closed ramiroluz closed 8 months ago

ramiroluz commented 11 months ago

Ajustar arquivos de configuração da pasta devops e rodar o make deploy localmente.

https://github.com/CMCuritiba/portal-volto/blob/main/devops/.env_dev https://github.com/CMCuritiba/portal-volto/blob/main/devops/stacks/plone.yml

ramiroluz commented 10 months ago
ramiroluz commented 10 months ago

Conversa no discord para contextualizar https://discord.com/channels/786421998426521600/892078241492389948/1168651980198121472

ramiroluz commented 9 months ago

Comando de criação da estrutura do portal foi executada:

Project details

[1/19] Project Title (Project Title): Extranet CMCuritiba [2/19] Project Description (A new project using Plone 6.): Extranet da Câmara Municipal de Curitiba baseado em Plone 6 - Volto. [3/19] Project Slug (Used for repository id) (extranet-cmcuritiba): extranet-cmc [4/19] Project URL (without protocol) (extranet-cmc.example.com): extranet.curitiba.pr.leg.br [5/19] Author (Plone Foundation): DTIC-CMC [6/19] Author E-mail (collective@plone.org): dtic@correio.curitiba.pr.leg.br [7/19] Python Package Name (extranet_cmc): [8/19] Volto Addon Name (volto-extranet-cmc): [9/19] Choose a Python Test Framework 1 - pytest 2 - unittest Choose from [1/2] (1): [10/19] Plone Version (6.0.8): [11/19] Should we use Volto Alpha Versions? (No): [12/19] Volto Version (17.6.1): [13/19] Volto Generator Version (8.1.0): [14/19] Language 1 - English 2 - Deutsch 3 - Español 4 - Português (Brasil) 5 - Nederlands 6 - Suomi Choose from [1/2/3/4/5/6] (1): 4 [15/19] GitHub Username or Organization (collective): cmcuritiba [16/19] Container Registry 1 - GitHub Container Registry 2 - Docker Hub Choose from [1/2] (1): [17/19] Should we setup a caching server? 1 - Yes 2 - No Choose from [1/2] (1): [18/19] Add Ansible playbooks? 1 - Yes 2 - No Choose from [1/2] (1): [19/19] Add GitHub Action to Deploy this project? 1 - Yes 2 - No Choose from [1/2] (1):

ramiroluz commented 9 months ago

make start funcionou sem problemas.

ramiroluz commented 9 months ago

make stack-start

ramiroluz commented 9 months ago

O problema anterior é relacionado ao servidor de cache, rodei novamente o cookie cutter e respondi não para que não seja habilitado o servidor de cache.

$ pipx run cookiecutter gh:collective/cookiecutter-plone-starter You've downloaded /home/ramiro/.cookiecutters/cookiecutter-plone-starter before. Is it okay to delete and re-download it? [y/n] (y):

Cookiecutter Plone Starter

Sanity checks

[1/5] Python: ✓ [2/5] Node: ✓ [3/5] yo: ✓ [4/5] Docker: ✓ [5/5] git: ✓

Project details

[1/19] Project Title (Project Title): Extranet CMCuritiba [2/19] Project Description (A new project using Plone 6.): Extranet da Câmara Municipal de Curitiba baseado em Plone 6 - Volto. [3/19] Project Slug (Used for repository id) (extranet-cmcuritiba): extranet-cmc [4/19] Project URL (without protocol) (extranet-cmc.example.com): extranet.curitiba.pr.leg.br [5/19] Author (Plone Foundation): DTIC CMCuritiba [6/19] Author E-mail (collective@plone.org): dtic@curitiba.pr.leg.br [7/19] Python Package Name (extranet_cmc): [8/19] Volto Addon Name (volto-extranet-cmc): [9/19] Choose a Python Test Framework 1 - pytest 2 - unittest Choose from [1/2] (1): [10/19] Plone Version (6.0.8): [11/19] Should we use Volto Alpha Versions? (No):

[12/19] Volto Version (17.6.1): [13/19] Volto Generator Version (8.1.0): [14/19] Language 1 - English 2 - Deutsch 3 - Español 4 - Português (Brasil) 5 - Nederlands 6 - Suomi Choose from [1/2/3/4/5/6] (1): 4 [15/19] GitHub Username or Organization (collective): cmcuritiba [16/19] Container Registry 1 - GitHub Container Registry 2 - Docker Hub Choose from [1/2] (1): [17/19] Should we setup a caching server? 1 - Yes 2 - No Choose from [1/2] (1): 2 [18/19] Add Ansible playbooks? 1 - Yes 2 - No Choose from [1/2] (1): [19/19] Add GitHub Action to Deploy this project? 1 - Yes 2 - No Choose from [1/2] (1):

Extranet CMCuritiba generation

Summary:

Frontend codebase:

Backend codebase

================================================================================

Project "Extranet CMCuritiba" was generated

Now, code it, create a git repository, push to your organization.

Sorry for the convenience, The Plone Community.

================================================================================

ramiroluz commented 9 months ago

Removendo o varnish o comando para deploy local funcionou corretamente.

ramiroluz commented 9 months ago

O site funcionou sem ajustes no arquivo docker-compose.yml