This commit introduces a boilerplate inspired by https://github.com/numerique-gouv/impress. The code has been cleaned to remove unnecessary Impress logic and dependencies. Changes made: - Removed Minio, WebRTC, and create bucket from the stack. - Removed the Next.js frontend (it will be replaced by Vite). - Cleaned up impress-specific backend logics. The whole stack remains functional: - All tests pass. - Linter checks pass. - Agent Connexion sources are already set-up. Why clear out the code? To adhere to the KISS principle, we aim to maintain a minimalist codebase. Cloning Impress allowed us to quickly inherit its code quality tools and deployment configurations for staging, pre-production, and production environments. What’s broken? - The tsclient is not functional anymore. - Some make commands need to be fixed. - Helm sources are outdated. - Naming across the project sources are inconsistent (impress, visio, etc.) - CI is not configured properly. This list might be incomplete. Let's grind it.
82 lines
816 B
Plaintext
82 lines
816 B
Plaintext
# Byte-compiled / optimized / DLL files
|
|
__pycache__/
|
|
*.py[cod]
|
|
*$py.class
|
|
|
|
# C extensions
|
|
*.so
|
|
|
|
# Distribution / packaging
|
|
.Python
|
|
build/
|
|
develop-eggs/
|
|
dist/
|
|
downloads/
|
|
eggs/
|
|
.eggs/
|
|
lib/
|
|
lib64/
|
|
parts/
|
|
sdist/
|
|
var/
|
|
wheels/
|
|
pip-wheel-metadata/
|
|
share/python-wheels/
|
|
*.egg-info/
|
|
.installed.cfg
|
|
*.egg
|
|
MANIFEST
|
|
.DS_Store
|
|
.next/
|
|
|
|
# Translations # Translations
|
|
*.pot
|
|
|
|
# Environments
|
|
.env
|
|
.venv
|
|
env/
|
|
venv/
|
|
ENV/
|
|
env.bak/
|
|
venv.bak/
|
|
env.d/development/*
|
|
!env.d/development/*.dist
|
|
env.d/terraform
|
|
|
|
# npm
|
|
node_modules
|
|
|
|
# Mails
|
|
src/backend/core/templates/mail/
|
|
|
|
# Typescript client
|
|
src/frontend/tsclient
|
|
|
|
# Swagger
|
|
**/swagger.json
|
|
|
|
# Logs
|
|
*.log
|
|
|
|
# Terraform
|
|
.terraform
|
|
*.tfstate
|
|
*.tfstate.backup
|
|
|
|
# Test & lint
|
|
.coverage
|
|
.pylint.d
|
|
.pytest_cache
|
|
db.sqlite3
|
|
.mypy_cache
|
|
|
|
# Site media
|
|
/data/
|
|
|
|
# IDEs
|
|
.idea/
|
|
.vscode/
|
|
*.iml
|
|
.devcontainer
|