Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 58 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# Python
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
*.egg-info/
dist/
build/
*.egg

# Virtual environments
.venv/
venv/
ENV/
env/

# IDE
.vscode/
.idea/
*.swp
*.swo
*~

# Git
.git/
.gitignore
.gitattributes

# Docker
Dockerfile
.dockerignore
docker-compose*.yml

# Testing
.pytest_cache/
.coverage
htmlcov/
tests/

# Output files
_out_/

# Documentation
*.md
!README.md

# OS
.DS_Store
Thumbs.db

# Private config files
PrivateConfig.py
Config_Sample.py

# Firebase certificates (should be mounted as secrets)
*.json
!resources/editions/data_sample.json
34 changes: 34 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Environment variables for IdentificationGenerator
# Copy this file to .env and update with your actual values

# ===== Edition Configuration =====
EDITION=2025
TEST=False

# ===== Database Configuration =====
DB_PATH_T=hackeps-2025/dev/users
DB_PATH=hackeps-2025/prod/users

# ===== API Configuration =====
# Backend API base URL
BASE_URL=http://localhost:8000
# Service authentication token (KEEP SECRET!)
SERVICE_TOKEN=your_service_token_here

# ===== Optional Path Overrides =====
# Uncomment and modify if you need custom paths
# EDITIONS_FOLDER=editions
# OUT_FOLDER=_out_
# RES_FOLDER=resources
# FONT_FOLDER=fonts

# ===== Optional File Name Overrides =====
# DATA_FILE=data.json
# DB_CERT=2019_firebase_cert.json
# FONT_FILE=SpaceMono-Regular.ttf
# BOLD_FONT_FILE=SpaceMono-Bold.ttf

# ===== Template File Overrides =====
# BAK_FILE_CONTESTANT=plantilles/participant.png
# BAK_FILE_STAFF=plantilles/organitzador.png
# BAK_FILE_EMPRESA=plantilles/patrocinador.png
13 changes: 13 additions & 0 deletions .github/workflows/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# GitHub Actions Workflows

This directory will contain GitHub Actions workflows for CI/CD.

## Planned Workflows

- **CI/CD Pipeline**: Build, test, and deploy the application
- **Docker Build**: Automated Docker image building and pushing to registry
- **Testing**: Automated test runs on pull requests

## Coming Soon

Deployment workflows will be added here in the future.
228 changes: 118 additions & 110 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,110 +1,118 @@
#custom
resources/*_firebase_cert.json
resources/editions/*/data.json
_out_/
*.pdf

# 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/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
.hypothesis/
.pytest_cache/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# Jupyter Notebook
.ipynb_checkpoints

# pyenv
.python-version

# celery beat schedule file
celerybeat-schedule

# SageMath parsed files
*.sage.py

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/
#custom
resources/*_firebase_cert.json
resources/editions/*/data.json
_out_/
generated_cards/
*.pdf
PrivateConfig.py
Config.py
.idea/*
.vscode/*
# Docker
docker-compose.override.yml
.env

# 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/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
.hypothesis/
.pytest_cache/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# Jupyter Notebook
.ipynb_checkpoints

# pyenv
.python-version

# celery beat schedule file
celerybeat-schedule

# SageMath parsed files
*.sage.py

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/
3 changes: 0 additions & 3 deletions .idea/.gitignore

This file was deleted.

11 changes: 0 additions & 11 deletions .idea/IdentificationGenerator.iml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/inspectionProfiles/profiles_settings.xml

This file was deleted.

4 changes: 0 additions & 4 deletions .idea/misc.xml

This file was deleted.

8 changes: 0 additions & 8 deletions .idea/modules.xml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/vcs.xml

This file was deleted.

Loading