From 51bbeab22fea13b8f53131d5a085e0fd9125df95 Mon Sep 17 00:00:00 2001 From: sonia Date: Wed, 13 Mar 2024 21:01:58 +0100 Subject: [PATCH] Intento de arreglar el despliegue --- docker-compose.yml | 2 +- {questionsService => questionservice}/API preguntas.txt | 0 {questionsService => questionservice}/Dockerfile | 2 +- {questionsService => questionservice}/esqueletoPreguntas.xml | 0 .../guardarPreguntaBaseDatos.js | 0 .../obtenerPreguntasBaseDatos.js | 0 .../obtenerPreguntasWikidata.js | 0 {questionsService => questionservice}/package-lock.json | 0 {questionsService => questionservice}/package.json | 0 {questionsService => questionservice}/preguntas.xml | 0 {questionsService => questionservice}/question-model.js | 0 {questionsService => questionservice}/question-service.js | 0 {questionsService => questionservice}/questionGeneration.js | 0 13 files changed, 2 insertions(+), 2 deletions(-) rename {questionsService => questionservice}/API preguntas.txt (100%) rename {questionsService => questionservice}/Dockerfile (92%) rename {questionsService => questionservice}/esqueletoPreguntas.xml (100%) rename {questionsService => questionservice}/guardarPreguntaBaseDatos.js (100%) rename {questionsService => questionservice}/obtenerPreguntasBaseDatos.js (100%) rename {questionsService => questionservice}/obtenerPreguntasWikidata.js (100%) rename {questionsService => questionservice}/package-lock.json (100%) rename {questionsService => questionservice}/package.json (100%) rename {questionsService => questionservice}/preguntas.xml (100%) rename {questionsService => questionservice}/question-model.js (100%) rename {questionsService => questionservice}/question-service.js (100%) rename {questionsService => questionservice}/questionGeneration.js (100%) diff --git a/docker-compose.yml b/docker-compose.yml index fcd639bf..6ae174eb 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -43,7 +43,7 @@ services: container_name: questionservice-${teamname:-wiq_es05c} image: ghcr.io/arquisoft/wiq_es05c/questionservice:latest profiles: ["dev", "prod"] - build: ./questionsService + build: ./questionservice depends_on: - mongodb ports: diff --git a/questionsService/API preguntas.txt b/questionservice/API preguntas.txt similarity index 100% rename from questionsService/API preguntas.txt rename to questionservice/API preguntas.txt diff --git a/questionsService/Dockerfile b/questionservice/Dockerfile similarity index 92% rename from questionsService/Dockerfile rename to questionservice/Dockerfile index 8855e4e3..ae8f3e41 100644 --- a/questionsService/Dockerfile +++ b/questionservice/Dockerfile @@ -2,7 +2,7 @@ FROM node:20 # Set the working directory in the container -WORKDIR /usr/src/questionsService +WORKDIR /usr/src/questionservice # Copy package.json and package-lock.json to the working directory COPY package*.json ./ diff --git a/questionsService/esqueletoPreguntas.xml b/questionservice/esqueletoPreguntas.xml similarity index 100% rename from questionsService/esqueletoPreguntas.xml rename to questionservice/esqueletoPreguntas.xml diff --git a/questionsService/guardarPreguntaBaseDatos.js b/questionservice/guardarPreguntaBaseDatos.js similarity index 100% rename from questionsService/guardarPreguntaBaseDatos.js rename to questionservice/guardarPreguntaBaseDatos.js diff --git a/questionsService/obtenerPreguntasBaseDatos.js b/questionservice/obtenerPreguntasBaseDatos.js similarity index 100% rename from questionsService/obtenerPreguntasBaseDatos.js rename to questionservice/obtenerPreguntasBaseDatos.js diff --git a/questionsService/obtenerPreguntasWikidata.js b/questionservice/obtenerPreguntasWikidata.js similarity index 100% rename from questionsService/obtenerPreguntasWikidata.js rename to questionservice/obtenerPreguntasWikidata.js diff --git a/questionsService/package-lock.json b/questionservice/package-lock.json similarity index 100% rename from questionsService/package-lock.json rename to questionservice/package-lock.json diff --git a/questionsService/package.json b/questionservice/package.json similarity index 100% rename from questionsService/package.json rename to questionservice/package.json diff --git a/questionsService/preguntas.xml b/questionservice/preguntas.xml similarity index 100% rename from questionsService/preguntas.xml rename to questionservice/preguntas.xml diff --git a/questionsService/question-model.js b/questionservice/question-model.js similarity index 100% rename from questionsService/question-model.js rename to questionservice/question-model.js diff --git a/questionsService/question-service.js b/questionservice/question-service.js similarity index 100% rename from questionsService/question-service.js rename to questionservice/question-service.js diff --git a/questionsService/questionGeneration.js b/questionservice/questionGeneration.js similarity index 100% rename from questionsService/questionGeneration.js rename to questionservice/questionGeneration.js