From 21abfbfd98953911b58e3eb97110c4dfac75efaf Mon Sep 17 00:00:00 2001 From: Roberto Alsina Date: Tue, 16 May 2023 12:38:37 -0300 Subject: [PATCH] Reorg repo --- README.md | 18 ++++++++++++++++++ nombres/build.sh => build.sh | 0 {nombres/busqueda => busqueda}/__init__.py | 0 {nombres/busqueda => busqueda}/handler.py | 0 {nombres/busqueda => busqueda}/handler_test.py | 0 .../busqueda => busqueda}/requirements.txt | 0 {nombres/busqueda => busqueda}/tox.ini | 0 nombres/deploy.sh => deploy.sh | 0 {nombres/historico => historico}/__init__.py | 0 {nombres/historico => historico}/handler.py | 0 .../historico => historico}/handler_test.py | 0 .../historico => historico}/requirements.txt | 0 {nombres/historico => historico}/tox.ini | 0 nombres/nombres.yml => nombres.yml | 0 nombres/README.md | 7 ------- {nombres/tapas => tapas}/__init__.py | 0 {nombres/tapas => tapas}/handler.py | 0 {nombres/tapas => tapas}/handler_test.py | 0 {nombres/tapas => tapas}/requirements.txt | 0 {nombres/tapas => tapas}/tox.ini | 0 20 files changed, 18 insertions(+), 7 deletions(-) create mode 100644 README.md rename nombres/build.sh => build.sh (100%) rename {nombres/busqueda => busqueda}/__init__.py (100%) rename {nombres/busqueda => busqueda}/handler.py (100%) rename {nombres/busqueda => busqueda}/handler_test.py (100%) rename {nombres/busqueda => busqueda}/requirements.txt (100%) rename {nombres/busqueda => busqueda}/tox.ini (100%) rename nombres/deploy.sh => deploy.sh (100%) rename {nombres/historico => historico}/__init__.py (100%) rename {nombres/historico => historico}/handler.py (100%) rename {nombres/historico => historico}/handler_test.py (100%) rename {nombres/historico => historico}/requirements.txt (100%) rename {nombres/historico => historico}/tox.ini (100%) rename nombres/nombres.yml => nombres.yml (100%) delete mode 100644 nombres/README.md rename {nombres/tapas => tapas}/__init__.py (100%) rename {nombres/tapas => tapas}/handler.py (100%) rename {nombres/tapas => tapas}/handler_test.py (100%) rename {nombres/tapas => tapas}/requirements.txt (100%) rename {nombres/tapas => tapas}/tox.ini (100%) diff --git a/README.md b/README.md new file mode 100644 index 0000000..f469529 --- /dev/null +++ b/README.md @@ -0,0 +1,18 @@ +# Cosas hechas con FAAS + +Para hacer el deploy obviamente necesita acceso a pass para conectarse con faasd +y mi VPN y mis credenciales y un monton de cosas que solo tengo yo, espero :-) + +En particular faas-cli (ver scripts build.sh y deploy.sh) necesita docker con buildx + +## busqueda / historico + +Funciones para hacer cosas con la data de nombres de Argentina. + +Página con esto funcionando: http://nombres.ralsina.me + +## tapas + +Funcion para generar tapas de libros + +Página con esto funcionando: http://covers.ralsina.me diff --git a/nombres/build.sh b/build.sh similarity index 100% rename from nombres/build.sh rename to build.sh diff --git a/nombres/busqueda/__init__.py b/busqueda/__init__.py similarity index 100% rename from nombres/busqueda/__init__.py rename to busqueda/__init__.py diff --git a/nombres/busqueda/handler.py b/busqueda/handler.py similarity index 100% rename from nombres/busqueda/handler.py rename to busqueda/handler.py diff --git a/nombres/busqueda/handler_test.py b/busqueda/handler_test.py similarity index 100% rename from nombres/busqueda/handler_test.py rename to busqueda/handler_test.py diff --git a/nombres/busqueda/requirements.txt b/busqueda/requirements.txt similarity index 100% rename from nombres/busqueda/requirements.txt rename to busqueda/requirements.txt diff --git a/nombres/busqueda/tox.ini b/busqueda/tox.ini similarity index 100% rename from nombres/busqueda/tox.ini rename to busqueda/tox.ini diff --git a/nombres/deploy.sh b/deploy.sh similarity index 100% rename from nombres/deploy.sh rename to deploy.sh diff --git a/nombres/historico/__init__.py b/historico/__init__.py similarity index 100% rename from nombres/historico/__init__.py rename to historico/__init__.py diff --git a/nombres/historico/handler.py b/historico/handler.py similarity index 100% rename from nombres/historico/handler.py rename to historico/handler.py diff --git a/nombres/historico/handler_test.py b/historico/handler_test.py similarity index 100% rename from nombres/historico/handler_test.py rename to historico/handler_test.py diff --git a/nombres/historico/requirements.txt b/historico/requirements.txt similarity index 100% rename from nombres/historico/requirements.txt rename to historico/requirements.txt diff --git a/nombres/historico/tox.ini b/historico/tox.ini similarity index 100% rename from nombres/historico/tox.ini rename to historico/tox.ini diff --git a/nombres/nombres.yml b/nombres.yml similarity index 100% rename from nombres/nombres.yml rename to nombres.yml diff --git a/nombres/README.md b/nombres/README.md deleted file mode 100644 index 3923dd8..0000000 --- a/nombres/README.md +++ /dev/null @@ -1,7 +0,0 @@ -Scripts para hacer cosas con la data de nombres de Argentina. - -Página con esto funcionando: http://nombres.ralsina.me - -* historico/ y busqueda/ son funciones OpenFAAS para implementar el sitio -* faas-cli (ver scripts build.sh y deploy.sh) necesita docker con buildx -* Para hacer el deploy obviamente necesita acceso a pass para conectarse con faasd diff --git a/nombres/tapas/__init__.py b/tapas/__init__.py similarity index 100% rename from nombres/tapas/__init__.py rename to tapas/__init__.py diff --git a/nombres/tapas/handler.py b/tapas/handler.py similarity index 100% rename from nombres/tapas/handler.py rename to tapas/handler.py diff --git a/nombres/tapas/handler_test.py b/tapas/handler_test.py similarity index 100% rename from nombres/tapas/handler_test.py rename to tapas/handler_test.py diff --git a/nombres/tapas/requirements.txt b/tapas/requirements.txt similarity index 100% rename from nombres/tapas/requirements.txt rename to tapas/requirements.txt diff --git a/nombres/tapas/tox.ini b/tapas/tox.ini similarity index 100% rename from nombres/tapas/tox.ini rename to tapas/tox.ini