diff --git a/JugarAlPadel/K8S/Makefile.local b/JugarAlPadel/K8S/Makefile.local index d24af26..60fe2ef 100644 --- a/JugarAlPadel/K8S/Makefile.local +++ b/JugarAlPadel/K8S/Makefile.local @@ -2,8 +2,8 @@ export ARQUITECTURA := $(shell lscpu |grep itectur | tr -d ' '| cut -f2 -d':') export REGISTRY=localhost:5000 #export REGISTRY=registry.reymota.es -export IMG_VERSION = 0.19 -export IMG_NGINX_VERSION = 2.3 +export IMG_VERSION = 0.21 +export IMG_NGINX_VERSION = 2.4 # limpia todo all: imagen clean install diff --git a/JugarAlPadel/README.md b/JugarAlPadel/README.md index 445a7b2..012a447 100644 --- a/JugarAlPadel/README.md +++ b/JugarAlPadel/README.md @@ -2,7 +2,7 @@ Desde el directorio K8S ejecutar make (esto hace todo: la imagen, para los pods y los lanza otra vez) -La primera vez, hay que entrar en el pod de vehículos con 'entra.sh' y +La primera vez, hay que entrar en el pod con 'entra.sh' y python manage.py createsuperuser @@ -41,9 +41,8 @@ https://testdriven.io/blog/dockerizing-django-with-postgres-gunicorn-and-nginx/ -## Cambiar la secuencia de lo sid +## Cambiar la secuencia de los id ALTER SEQUENCE tablename_id_seq RESTART WITH nn; esto se hace cuando restauro un volcado de la bd sobre una instalación nueva. Si hay índices ya creados, hay que reinciar a partir del último. - diff --git a/JugarAlPadel/gestion_reservas/templates/base.html b/JugarAlPadel/gestion_reservas/templates/base.html index 6b908c3..89e6091 100644 --- a/JugarAlPadel/gestion_reservas/templates/base.html +++ b/JugarAlPadel/gestion_reservas/templates/base.html @@ -34,6 +34,23 @@