refactor: Configure subrepositorios for backend, frontend, database

- Add .gitmodules with references to independent subrepos
- Update .gitignore to exclude subrepo directories
This commit is contained in:
rckrdmrd 2026-01-04 06:40:08 -06:00
parent 59f1e3badf
commit 23786ad49f
2 changed files with 24 additions and 0 deletions

8
.gitignore vendored
View File

@ -1,3 +1,11 @@
# =============================================================================
# SUBREPOSITORIOS - Tienen sus propios repositorios independientes
# Ver .gitmodules para referencias
# =============================================================================
backend/
frontend/
database/
# Dependencies # Dependencies
node_modules/ node_modules/

16
.gitmodules vendored Normal file
View File

@ -0,0 +1,16 @@
# =============================================================================
# Subrepositorios de erp-core
# Cada subproyecto tiene su propio repositorio para deployment independiente
# =============================================================================
[submodule "backend"]
path = backend
url = git@gitea-server:rckrdmrd/erp-core-backend.git
[submodule "frontend"]
path = frontend
url = git@gitea-server:rckrdmrd/erp-core-frontend-web.git
[submodule "database"]
path = database
url = git@gitea-server:rckrdmrd/erp-core-database.git