Skip to content

Makefile, todo más facil#129

Open
pwqw wants to merge 3 commits intoPyAr:masterfrom
pwqw:makefile
Open

Makefile, todo más facil#129
pwqw wants to merge 3 commits intoPyAr:masterfrom
pwqw:makefile

Conversation

@pwqw
Copy link
Copy Markdown

@pwqw pwqw commented Feb 17, 2026

make

Descripción

Requiere docker, casi cualquier versión. El propósito es inicializar el proyecto, nada más que con

cd PyCamp_Bot
make

y ya.

Uso:

make buid  # construye
make run  # ejecuta

o, lo que sería lo mismo:

make  # ambas

Para correr los test:

make test

Hay coverage (se usó para crear los test)

make test-cov

IMPORTANTE

  • Se edita el README.md (preview)
  • En el archivo .env se guardan las variables (por ej el bot token)

Ventajas:

  1. Los contenedores se instalan solos
  2. Las dependencias se instalan solas
  3. Docker gestiona la caché
  4. Queda todo prolijito
  5. Multiplataforma
  6. Aislado
  7. Cuando "Ctrl+C" o al cerrar terminal, los contenedores se detienen y eliminan
  8. No hay que memorizar ni escribir ningún comando largo

@pwqw pwqw changed the title 3. Makefile Makefile, todo más facil Apr 23, 2026
botON added 3 commits April 23, 2026 01:11
… command; adjust pip install to include development dependencies.
…ions, environment variables, and command usage for the PyCamp Telegram bot.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant