Phase 1: Rails scaffold, landing page, and health check #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Type
Feature
Lineage
Decomposed from #1 — Phase 1 of 4.
Repo
forgejo_admin/pal-enterprisesUser Story
As a visitor, I want to see a professional landing page that introduces Lucas Draney's services, so that I understand what pal-enterprises offers before deciding to reach out.
Context
This is the foundation phase. Scaffold a fresh Rails 8.1 app with Hotwire, Tailwind, and Postgres. Create the landing page at
/with a services overview and a "Sign In" button (non-functional until Phase 3). Deploy on the cluster using the same dev-mode pattern as westside-ror and pal-e-ror (ruby:3.4-slim, hostPath mount, gem cache PVC, Tailscale ingress).File Targets
Files to create:
Gemfile— Rails 8.1, pg, tailwindcss-rails, turbo-rails, stimulus-rails, propshaftconfig/database.yml— connect to CNPG asldraney, databasepal_enterprises_devconfig/environments/development.rb— allow*.ts.nethostsconfig/routes.rb— root route to pages#home, health check at/upapp/controllers/pages_controller.rb— landing pageapp/views/pages/home.html.erb— services overview, sign-in CTAapp/views/layouts/application.html.erb— Tailwind layout with navk8s/dev.yaml— namespace, secret, PVC, deployment, service, ingressAcceptance Criteria
rails newscaffold committed with Hotwire + Tailwind + Postgres/with services overview#until Phase 3)/upreturns 200https://pal-enterprises.tail5b443a.ts.netTest Expectations
bin/rails testpasses (default scaffold tests)bin/rails testConstraints
/upldraney, host:pal-e-postgres-rw.postgres.svc.cluster.localpal-enterprisesto postgres namespace NetworkPolicypal_enterprises_devon the CNPG clusterChecklist
Related
pal-enterprises— projectDone — Rails 8.1 scaffolded with landing page, health check at
/up, and dev deployment. See commit2303f85.