Scaffold Rails + publicaciones estáticas (Fase 1) #2

Closed
opened 2026-06-12 02:43:35 +00:00 by ldraney · 3 comments
Owner

Type

Feature

Lineage

Equivalente a html-poster#2 — versión en español

Repo

html-poster-espanol

User Story

Como autor, quiero que la app Rails exista, sirva HTML, y corra localmente para poder publicar contenido en español.

Context

Fase 1 del roadmap. La página HTML estática (ereccion.html) ya está en public/. Falta el scaffold Rails completo: docker-compose, PagesController, vistas dinámicas, database.yml.

File Targets

  • docker-compose.yml (nuevo — copiar de rails-base)
  • app/controllers/pages_controller.rb (nuevo)
  • app/views/pages/inicio.html.erb (nuevo)
  • app/views/pages/acerca.html.erb (nuevo)
  • app/views/layouts/application.html.erb (nuevo)
  • config/routes.rb (nuevo)
  • config/database.yml (nuevo)

Feature Flag

None

Acceptance Criteria

  • App Rails funcional con docker compose up
  • PagesController con acciones inicio y acerca
  • Página estática ereccion.html accesible en public/
  • Vistas dinámicas renderizando dentro del layout
  • Entorno dev local verificado en localhost:9999

Test Expectations

  • docker compose up levanta sin errores
  • GET / renderiza página de inicio
  • GET /acerca renderiza página acerca
  • GET /ereccion.html sirve archivo estático

Constraints

  • Seguir patrón de rails-base para docker-compose
  • PostgreSQL como base de datos

Checklist

  • Copiar docker-compose.yml de rails-base
  • rails new dentro del contenedor
  • Configurar database.yml con ENV
  • Crear PagesController
  • Pegar HTML en vistas
  • Verificar localmente
  • html-poster#2 (equivalente en inglés)
### Type Feature ### Lineage Equivalente a html-poster#2 — versión en español ### Repo html-poster-espanol ### User Story Como autor, quiero que la app Rails exista, sirva HTML, y corra localmente para poder publicar contenido en español. ### Context Fase 1 del roadmap. La página HTML estática (ereccion.html) ya está en public/. Falta el scaffold Rails completo: docker-compose, PagesController, vistas dinámicas, database.yml. ### File Targets - `docker-compose.yml` (nuevo — copiar de rails-base) - `app/controllers/pages_controller.rb` (nuevo) - `app/views/pages/inicio.html.erb` (nuevo) - `app/views/pages/acerca.html.erb` (nuevo) - `app/views/layouts/application.html.erb` (nuevo) - `config/routes.rb` (nuevo) - `config/database.yml` (nuevo) ### Feature Flag None ### Acceptance Criteria - [ ] App Rails funcional con `docker compose up` - [ ] PagesController con acciones inicio y acerca - [ ] Página estática ereccion.html accesible en public/ - [ ] Vistas dinámicas renderizando dentro del layout - [ ] Entorno dev local verificado en localhost:9999 ### Test Expectations - `docker compose up` levanta sin errores - GET / renderiza página de inicio - GET /acerca renderiza página acerca - GET /ereccion.html sirve archivo estático ### Constraints - Seguir patrón de rails-base para docker-compose - PostgreSQL como base de datos ### Checklist - [ ] Copiar docker-compose.yml de rails-base - [ ] rails new dentro del contenedor - [ ] Configurar database.yml con ENV - [ ] Crear PagesController - [ ] Pegar HTML en vistas - [ ] Verificar localmente ### Related - html-poster#2 (equivalente en inglés)
Author
Owner

Scope Review: NEEDS_REFINEMENT

Review note: review-1412-2026-06-11

Template is complete and file targets are verified, but traceability backing notes are missing.

  • [SCOPE] Project page project-html-poster-espanol does not exist in pal-e-docs. Create it with a user-stories section including the publicar-contenido story.
  • [SCOPE] Architecture note arch-rails-views does not exist in pal-e-docs. Create it for the Rails views component.
  • [BODY] AC references "acerca" action but File Targets section is missing app/views/pages/acerca.html.erb.
## Scope Review: NEEDS_REFINEMENT Review note: `review-1412-2026-06-11` Template is complete and file targets are verified, but traceability backing notes are missing. - **[SCOPE]** Project page `project-html-poster-espanol` does not exist in pal-e-docs. Create it with a user-stories section including the `publicar-contenido` story. - **[SCOPE]** Architecture note `arch-rails-views` does not exist in pal-e-docs. Create it for the Rails views component. - **[BODY]** AC references "acerca" action but File Targets section is missing `app/views/pages/acerca.html.erb`.
Author
Owner

Refinamiento post-revisión (review-1412):

  1. Creada página de proyecto project-html-poster-espanol en pal-e-docs con todas las secciones requeridas (Vision, User Stories, Architecture, Board, Status, Milestones, Repos)
  2. arch-rails-views ya existía — falso positivo del revisor
  3. Agregado app/views/pages/acerca.html.erb a File Targets (faltaba en el body original)
  4. Agregado GET /acerca a Test Expectations
**Refinamiento post-revisión (review-1412):** 1. Creada página de proyecto `project-html-poster-espanol` en pal-e-docs con todas las secciones requeridas (Vision, User Stories, Architecture, Board, Status, Milestones, Repos) 2. `arch-rails-views` ya existía — falso positivo del revisor 3. Agregado `app/views/pages/acerca.html.erb` a File Targets (faltaba en el body original) 4. Agregado `GET /acerca` a Test Expectations
Author
Owner

Scope Review: APPROVED

Review note: review-1412-2026-06-11-r2

Re-review after refinement. All three issues from the initial review have been resolved:

  • Project page project-html-poster-espanol created with user-stories section
  • arch-rails-views note confirmed to exist (original finding was false positive)
  • acerca.html.erb added to File Targets and GET /acerca added to Test Expectations

Ticket is ready for implementation.

## Scope Review: APPROVED Review note: `review-1412-2026-06-11-r2` Re-review after refinement. All three issues from the initial review have been resolved: - Project page `project-html-poster-espanol` created with user-stories section - `arch-rails-views` note confirmed to exist (original finding was false positive) - `acerca.html.erb` added to File Targets and `GET /acerca` added to Test Expectations Ticket is ready for implementation.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ldraney/html-poster-espanol#2
No description provided.