Rails scaffold + static posts (Phase 1) #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
Standalone -- foundation for the app. See
docs/roadmap/Phase 1.Repo
ldraney/html-posterUser Story
As Lucas
I want a working Rails app that serves HTML pages
So that I can post content publicly via both static files and controller views
Context
html-poster needs a Rails skeleton generated from the rails-base template. Uses
docker compose run web rails newto generate inside the container (no local Ruby needed). PagesController provides layout-wrapped views;public/provides zero-Rails static serving. Reference:~/rails-base/docs/starting-a-new-project.md.File Targets
Files the agent should modify or create:
docker-compose.yml-- copy from rails-baseconfig/database.yml-- ENV-based credentialsapp/controllers/pages_controller.rb-- home, about actionsapp/views/pages/home.html.erb-- home page viewconfig/routes.rb-- root route + page routesFiles the agent should NOT touch:
docs/-- documentation is already writtenFeature Flag
none
Acceptance Criteria
rails newgenerated successfully inside containerpublic/docker compose upworks at localhost:9999Test Expectations
docker compose up, verify localhost:9999 serves the home pagepublic/, verify it's served directlydocker compose exec web rails testConstraints
rails-base/docker-compose.ymlpattern (ruby-rails-build image from Harbor)--skip-ci --skip-kamal --skip-docker --skip-thruster --skip-action-textChecklist
Related
html-poster-- project this affectsrails-base-- template source