-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
95 additions
and
68 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,19 @@ | ||
FROM php:8.2-fpm | ||
|
||
# Instalar extensiones y herramientas necesarias | ||
RUN apt-get update && apt-get install -y \ | ||
curl \ | ||
libpq-dev \ | ||
libzip-dev \ | ||
unzip \ | ||
&& docker-php-ext-install pdo pdo_mysql zip | ||
|
||
# Instalar Composer | ||
COPY --from=composer:2.6 /usr/bin/composer /usr/bin/composer | ||
|
||
# Copiar el código del proyecto | ||
FROM php:8.3.11-apache | ||
RUN apt-get update -y && apt-get install -y openssl zip unzip git | ||
RUN docker-php-ext-install pdo_mysql | ||
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer | ||
COPY . /var/www/html | ||
COPY ./public/.htaccess /var/www/html/.htaccess | ||
WORKDIR /var/www/html | ||
RUN composer install \ | ||
--ignore-platform-reqs \ | ||
--no-interaction \ | ||
--no-plugins \ | ||
--no-scripts \ | ||
--prefer-dist | ||
|
||
# Exponer el puerto 8000 | ||
EXPOSE 8000 | ||
|
||
CMD ["php", "artisan", "migrate"] | ||
|
||
CMD ["php", "artisan", "serve", "--host=0.0.0.0", "--port=8000"] | ||
RUN php artisan key:generate | ||
RUN php artisan migrate | ||
RUN chmod -R 777 storage | ||
RUN a2enmod rewrite | ||
RUN service apache2 restart |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
### **Entregable I - Equipo 6** | ||
|
||
**Integrantes:** | ||
- Esteban, Samuel, Jhonathan | ||
|
||
**Fecha - Commits:** | ||
- Septiembre 14 - 85 commits | ||
|
||
**Tienda de:** | ||
- Juegos | ||
|
||
**Links:** | ||
- **GCP:** [http://35.239.131.250/](http://35.239.131.250/) | ||
- **GitHub:** [https://github.com/Jonathanbees/Pixel-Plaza/](https://github.com/Jonathanbees/Pixel-Plaza/) | ||
|
||
--- | ||
|
||
### **Calificaciones y Comentarios** | ||
|
||
1. **Lang (4):** | ||
- **Calificación:** 0 | ||
- **Comentario:** No | ||
|
||
2. **Diagrama de clases (8):** | ||
- **Calificación:** 8 | ||
- **Comentario:** Ojo "games" con **s** en category. Super bien. | ||
|
||
3. **Diagrama de arquitectura (8):** | ||
- **Calificación:** 8 | ||
- **Comentario:** Verificar conexiones entre controladores y modelos. Muy bien. | ||
|
||
4. **Documento guía de estilo (5):** | ||
- **Calificación:** 4 | ||
- **Comentario:** Quitar lo que no sirva, y especificar en qué carpeta correr el comando de pint y cuándo. | ||
|
||
5. **Documento de reglas (5):** | ||
- **Calificación:** 5 | ||
- **Comentario:** Muy bien. | ||
|
||
6. **Controladores (10):** | ||
- **Calificación:** 9 | ||
- **Comentario:** | ||
- Controladores de admin: pasarlos a subcarpeta. | ||
- Añadir getter en el middleware y redirect with name. | ||
- Muy bien, separar quizás Gemini en una clase aparte. | ||
|
||
7. **Modelos (10):** | ||
- **Calificación:** 8 | ||
- **Comentario:** | ||
- Comentar siempre los atributos que representan claves foráneas y adicionar su respectivo `get` y `set`. | ||
- Falta `setCustomUser` en company, y tipo de retorno en validate. | ||
- Quizás estandarizar los tipos de retorno cuando son múltiples. | ||
|
||
8. **Vistas (10):** | ||
- **Calificación:** 9 | ||
- **Comentario:** | ||
- Vistas de admin: moverlas a una subcarpeta de admin. | ||
- Muy bien. | ||
|
||
9. **Funcionalidades panel admin (18):** | ||
- **Calificación:** 18 | ||
- **Comentario:** Muy bien. | ||
|
||
10. **Funcionalidades user normal (18):** | ||
- **Calificación:** 16 | ||
- **Comentario:** Ojo, borrar `isAdmin` de register y añadir total en carrito de compras. | ||
|
||
11. **Funcionalidades interesantes (4):** | ||
- **Calificación:** 4 | ||
- **Comentario:** Juegos más comprados, barra búsqueda, y varios tops. | ||
|
||
12. **Funcionalidad adicional:** | ||
- Gemini: Generación de resumen de las reviews. | ||
|
||
--- | ||
|
||
### **Nota final:** | ||
- **4.45** |
This file was deleted.
Oops, something went wrong.