-
-
Notifications
You must be signed in to change notification settings - Fork 0
docs(readme): add Quick Start; tooling and Docker setup; contribution udates #29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -137,25 +137,66 @@ func main() { | |||||||||||||||||||
|
|
||||||||||||||||||||
| ## Documentation | ||||||||||||||||||||
|
|
||||||||||||||||||||
| - Detailed usage and behavior notes: `docs/usage.md` | ||||||||||||||||||||
| - Security checklist: `docs/security-checklist.md` | ||||||||||||||||||||
| - Detailed usage and behavior notes: [Usage](docs/usage.md) | ||||||||||||||||||||
| - A quick reference for teams using sectools in production: [Security checklist](docs/security-checklist.md) | ||||||||||||||||||||
|
|
||||||||||||||||||||
| ## Development | ||||||||||||||||||||
|
|
||||||||||||||||||||
| ```bash | ||||||||||||||||||||
| make test | ||||||||||||||||||||
| make lint | ||||||||||||||||||||
| make sec | ||||||||||||||||||||
| ``` | ||||||||||||||||||||
| ### Quick Start | ||||||||||||||||||||
|
|
||||||||||||||||||||
| 1. Clone and set your module name | ||||||||||||||||||||
|
|
||||||||||||||||||||
| ```bash | ||||||||||||||||||||
| git clone https://github.com/hyp3rd/starter.git my-new-project | ||||||||||||||||||||
| cd my-new-project | ||||||||||||||||||||
| ./setup-project.sh --module github.com/your/module | ||||||||||||||||||||
|
||||||||||||||||||||
| ``` | ||||||||||||||||||||
|
|
||||||||||||||||||||
| 1. Install toolchain (core). Proto tools stay optional. | ||||||||||||||||||||
|
|
||||||||||||||||||||
| ```bash | ||||||||||||||||||||
| make prepare-toolchain | ||||||||||||||||||||
| # If you need proto/gRPC/OpenAPI | ||||||||||||||||||||
| PROTO_ENABLED=true make prepare-proto-tools | ||||||||||||||||||||
| ``` | ||||||||||||||||||||
|
|
||||||||||||||||||||
| 1. Run quality gates and sample app | ||||||||||||||||||||
|
|
||||||||||||||||||||
| ```bash | ||||||||||||||||||||
| make lint | ||||||||||||||||||||
| make test | ||||||||||||||||||||
| make run # serves /health on HOSTNAME:PORT (defaults localhost:8000) | ||||||||||||||||||||
|
||||||||||||||||||||
| ``` | ||||||||||||||||||||
|
|
||||||||||||||||||||
| 1. Optional: Docker and Compose | ||||||||||||||||||||
|
|
||||||||||||||||||||
| ```bash | ||||||||||||||||||||
| cp .env.example .env # shared runtime config for compose/requests | ||||||||||||||||||||
| docker build -t starter-app . | ||||||||||||||||||||
| docker compose up --build | ||||||||||||||||||||
| ``` | ||||||||||||||||||||
|
Comment on lines
+173
to
+177
|
||||||||||||||||||||
| ```bash | |
| cp .env.example .env # shared runtime config for compose/requests | |
| docker build -t starter-app . | |
| docker compose up --build | |
| ``` | |
| This repository does not ship Docker or Docker Compose configuration out of the box. | |
| If you need containerization, add your own `Dockerfile` and related configuration | |
| appropriate for your environment, and use the standard Docker/Compose commands to | |
| build and run your image. |
Copilot
AI
Jan 8, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Make targets "proto", "run", and "run-container" referenced here do not exist in the Makefile. Only "run-example" exists. These targets should either be added to the Makefile or removed from this documentation list.
Copilot
AI
Jan 8, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The link formatting is inconsistent. Line 198 uses "CODE_OF_CONDUCT.md" without the "./" prefix, while line 194 uses "./CONTRIBUTING.md" and line 202 uses "./LICENSE" with the prefix. For consistency, this should be "./CODE_OF_CONDUCT.md".
| Make sure you [observe the Code of Conduct](CODE_OF_CONDUCT.md). | |
| Make sure you [observe the Code of Conduct](./CODE_OF_CONDUCT.md). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The repository reference is incorrect. This README is for the "sectools" project (as shown in the title, badges, and go.mod), but this line references cloning "github.com/hyp3rd/starter.git". This should be updated to reference the correct repository URL for the sectools project.