Skip to main content

Librería para commandos para django

Project description

turtle_glide

Introducción

turtle_glide es una herramienta para crear archivos dentro de la carpeta templates o static de una app de Django.

Instalación del paquete

Instalación en tu proyecto Django

Instalar turtle_glide en tu proyecto Django:

pip install turtle_glide

Luego, agregar TurtleGlide como una app de Django en INSTALLED_APPS:

INSTALLED_APPS = [
    'turtle_glide'
]

Uso de turtle_glide

Parámetros obligatorios

Hay tres parámetros obligatorios para el uso del comando create_archive:

  • app_name: Nombre de la app
  • --template: para archivos en la carpeta templates
  • --static: para archivos en la carpeta static

Comando de ejemplo

python manage.py create_archive "app_name" --static "file_path"

create_archive

Crea multiples archivos en las carpetas static y templates de una app de Django.

python manage.py create_archive home --static css/app.css js/app.js --template layouts/main.html

uso de turtle_glide para desarrolladores

hay tres paramentros obligatorios para el uso del comando creeate_archive:

Paso 1: Instalar dependencias y crear entorno virtual

comandos:

instalacion de dependencias

./setup.sh

Paso 2: Activar entorno virtual

Activar el entorno virtual:

source venv/bin/activate

variables

  • app_name: Nombre de la app
  • --template: para archivos en la carpeta templates
  • --static: para archivos en la carpeta static
python manage.py create_archive "app_name" --static "file_path"

Listo para empezar

Ya estás listo para empezar a trabajar con TurtleGlide sin problemas.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

turtle_glide-2.2.0.tar.gz (24.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

turtle_glide-2.2.0-py3-none-any.whl (25.4 kB view details)

Uploaded Python 3

File details

Details for the file turtle_glide-2.2.0.tar.gz.

File metadata

  • Download URL: turtle_glide-2.2.0.tar.gz
  • Upload date:
  • Size: 24.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for turtle_glide-2.2.0.tar.gz
Algorithm Hash digest
SHA256 ce811561b2b362adeb1ac23b209cd01978181522931ed4709621ab673237c31a
MD5 de24944ad8793c794c1943f320b17b8b
BLAKE2b-256 711d2b40318540cc60c297f958ff14940fdc9ea47c046418acfa770769690e76

See more details on using hashes here.

File details

Details for the file turtle_glide-2.2.0-py3-none-any.whl.

File metadata

  • Download URL: turtle_glide-2.2.0-py3-none-any.whl
  • Upload date:
  • Size: 25.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for turtle_glide-2.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 820f2f0bd7fe6c0d2b3ab46e62bbbe182c4de3f6ba1c5238fb73a88f868e12b7
MD5 2ef5b09ad04f294fa5ddbc57fc33eeb7
BLAKE2b-256 01fec2ac4682a8da68747388642f505c907770328ded7cb32391423142f6754f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page