RuleStack

Configs

Stacks

Compare

Diff

RuleStack

Configs

Stacks

Compare

Diff

Read API

RuleStack

Configs

Stacks

Compare

Diff

Read API

Configs/AGENTS.md/opf/openproject

AGENTS.md

docker/dev/AGENTS.md
AGENTS.md

Quality

74/100

Scores the file, not the repository.

Length

326 words

13 headings · 2 code blocks

Repository

16k

— · pushed 0 days ago

Last changed

3 days ago

First indexed 3 days ago.
opf/openproject/docker/dev/AGENTS.mdRawGitHub
1# Docker Development
2 
3The Docker development environment uses configurations in `docker/dev/` and the `bin/compose` wrapper script.
4 
5## Setup
6 
7```bash
8# Initial setup (first time only)
9bin/compose setup # Installs backend and frontend dependencies
10 
11# Starting services
12bin/compose start # Start backend and frontend in background
13bin/compose run # Start frontend in background, backend in foreground (for debugging with pry)
14 
15# Running tests
16bin/compose rspec spec/models/user_spec.rb # Run specific tests in backend-test container
17 
18# Other operations
19bin/compose reset # Remove all containers and volumes (requires setup again)
20bin/compose <command> # Pass any docker-compose command directly
21```
22 
23## Important Notes
24 
25- **CRITICAL**: `config/database.yml` must NOT exist when using Docker (rename or delete it)
26- Most developers use a local `docker-compose.override.yml` for custom port mappings and configurations
27- Copy `docker-compose.override.example.yml` to `docker-compose.override.yml` and customize as needed
28- Default ports: Backend at http://localhost:3000 (or 4200 for frontend dev server)
29- Services: `backend`, `frontend`, `worker`, `db`, `db-test`, `backend-test`, `cache`
30- Persisted volumes: `pgdata`, `bundle`, `npm`, `tmp`, `opdata` (data survives container restarts)
31- Docker build context: Uses Dockerfiles in `docker/dev/backend/` and `docker/dev/frontend/`
32 
33## Commands Reference
34 
35```bash
36# Setup and lifecycle
37bin/compose setup # Setup Docker environment (first time)
38bin/compose start # Start all services in background
39bin/compose run # Start frontend in background, backend in foreground
40bin/compose reset # Remove all containers and volumes
41bin/compose stop # Stop all services
42bin/compose down # Stop and remove containers
43 
44# Testing
45bin/compose rspec spec/models/user_spec.rb # Run specific tests
46bin/compose exec backend bundle exec rspec # Run tests directly in backend container
47 
48# Development
49bin/compose exec backend bundle exec rails console # Rails console
50bin/compose logs backend # View backend logs
51bin/compose logs -f backend # Follow backend logs
52bin/compose ps # List running containers
53 
54# Database
55bin/compose exec backend bundle exec rails db:migrate # Run migrations
56bin/compose exec backend bundle exec rails db:seed # Seed data
57 
58# Direct docker-compose commands
59bin/compose up -d # Start services
60bin/compose restart backend # Restart backend service
61```
62 

Commands it names

  • docker/dev/
  • docker-compose.override.yml
  • docker-compose.override.example.yml
  • bundle
  • npm
  • docker/dev/backend/
  • docker/dev/frontend/

Sections

  • Docker Development
  • Setup
  • Initial setup (first time only)
  • Starting services
  • Running tests
  • Other operations
  • Important Notes
  • Commands Reference
  • Setup and lifecycle
  • Testing
  • Development
  • Database
  • Direct docker-compose commands

What it covers

setuptestdatabase

Stack — with the evidence

ruby

(1.00)

angular

(1.00)

rails

(1.00)

node

(0.70)

react

(0.70)

postgres

(0.70)

redis

(0.70)

vitest

(0.70)

eslint

(0.70)

aws

(0.70)

typescript

(0.60)

javascript

(0.60)

docker

(0.60)

github-actions

(0.60)

Format

AGENTS.md

A plain-markdown README for coding agents, deliberately unopinionated: no frontmatter, no globs, no vendor keys. That minimalism is why it became the one file a dozen different agents will read, and why it carries the least per-file targeting power of any format here.

What the corpus says about it

Repository

Owner
opf
Language
—
License
—
Archived
no

All configs in this repo

Also in opf/openproject

Diff this repo’s formats

One repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?

The other instruction files in this repository
RepositoryFormatStackCoversScoreChanged
opf/openproject.github/copilot-instructions.md · 16kCopilot instructionsrubyangular+12setuplint-formatgitdatabase+173/1003 days ago
opf/openprojectAGENTS.md · 16kAGENTS.mdrubyangular+12setuplint-formatarchtypes+390/1003 days ago
opf/openprojectapp/AGENTS.md · 16kAGENTS.mdrubyangular+12stylearch52/1003 days ago
opf/openprojectconfig/AGENTS.md · 16kAGENTS.mdrubyangular+12no sections46/1003 days ago
opf/openprojectdb/AGENTS.md · 16kAGENTS.mdrubyangular+12styledatabase55/1003 days ago
opf/openprojectfrontend/AGENTS.md · 16kAGENTS.mdtypescriptruby+12setuptestlint-formatstyle+388/1003 days ago
opf/openprojectspec/AGENTS.md · 16kAGENTS.mdrubyangular+12teststylearch77/1003 days ago
Diff against .github/copilot-instructions.md Diff against AGENTS.md Diff against app/AGENTS.md Diff against config/AGENTS.md Diff against db/AGENTS.md Diff against frontend/AGENTS.md Diff against spec/AGENTS.md

Similar configs

Same format, overlapping stack, ranked by quality.

Same format, overlapping stack, ranked by quality
RepositoryFormatStackCoversScoreChanged
wpscanteam/wpscanAGENTS.md · 9.7kAGENTS.mdrubyvue+3setupbuildteststyle+6100/1002 days ago
rails/railsAGENTS.md · 59kAGENTS.mdrubyeslint+5teststylearchgit+4100/1003 days ago
react/react-nativepackages/react-native-compatibility-check/AGENTS.md · 126kAGENTS.mdreactreact-native+11testlint-formatstylearch+499/1003 days ago
dotCMS/corecore-web/apps/dotcms-ui/AGENTS.md · 950AGENTS.mdtypescriptjava+9buildteststyledependencies+394/1003 days ago
Freika/dawarichAGENTS.md · 10.0kAGENTS.mdrubyrails+11buildtestlint-formatstyle+494/1002 days ago
akodkod/operandiAGENTS.md · 73AGENTS.mdrubygithub-actionsbuildteststyletesting-strategy+393/1003 days ago
opf/openprojectAGENTS.md · 16kAGENTS.mdrubyangular+12setuplint-formatarchtypes+390/1003 days ago
rubocop/rubocopAGENTS.md · 13kAGENTS.mdrubygithub-actionsstylearchgitagent-behaviour+190/1003 days ago
RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack