Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor(DevOps): Inicial automatizar o build do front end integrado com o back end #132

Conversation

Potatoyz908
Copy link
Collaborator

Descrição do Pull Request

O que foi feito?

  • Criação de um processo de build automatizado para o front-end (Vite/Vue) e posterior integração ao back-end (Django).
  • Adicionadas configurações de Docker multi-stage para compilar o front e copiar os arquivos para o container final do Django.
  • Ajustado o vite.config.js para gerar o manifest.json e armazenar os arquivos de build no local correto (static/dist).
  • Adaptada a template tag (vite_tags.py) no Django para ler o manifest.json.
  • Atualizados scripts de inicialização para facilitar o deploy em produção com um único container.

Checklist

  • Meu código segue as diretrizes do projeto.
  • Adicionei testes para cobrir as mudanças, se aplicável.
  • Atualizei a documentação, se necessário.

@Potatoyz908 Potatoyz908 added the devops Related to DevOps development label Jan 9, 2025
@Potatoyz908 Potatoyz908 added this to the Sprint 9 milestone Jan 9, 2025
@Potatoyz908 Potatoyz908 self-assigned this Jan 9, 2025
@Potatoyz908 Potatoyz908 linked an issue Jan 9, 2025 that may be closed by this pull request
4 tasks
Copy link
Collaborator

@Davicamilo23 Davicamilo23 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Incrível seu trabalho, Euller!

@Potatoyz908 Potatoyz908 merged commit a5e0c5c into main Jan 9, 2025
1 check passed
@Potatoyz908 Potatoyz908 deleted the 127-taskdevops-automatizar-o-build-do-front-end-integrado-com-o-back-end-1 branch January 9, 2025 04:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
devops Related to DevOps development
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants