Shelley
c09695d4e2
feat: add micro build and micro deploy commands
...
Run Tests / Unit Tests (push) Has been cancelled
Run Tests / Etcd Integration Tests (push) Has been cancelled
micro build:
- Generates Dockerfiles for services (if not present)
- Builds container images for all services in micro.mu
- Supports --tag, --registry, --push flags
- --compose flag generates docker-compose.yml
micro deploy:
- Default: deploys with docker-compose
- --ssh user@host: deploys via SSH (rsync + build on remote)
- --build: rebuild images before deploying
Complete workflow:
micro run # Develop locally
micro build # Build images
micro deploy # Deploy
Or for simple SSH deploys:
micro deploy --ssh user@host
Co-authored-by: Shelley <shelley@exe.dev >
2026-01-27 12:39:43 +00:00
Asim Aslam
40c3ec0e32
feat: add testing package for in-process service testing ( #2833 )
...
Provides a test harness for running micro services in isolation:
h := testing.NewHarness(t)
defer h.Stop()
h.Name("users").Register(new(UsersHandler))
h.Start()
var rsp Response
h.Call("UsersHandler.Create", &req, &rsp)
Features:
- Isolated registry, transport, and broker per harness
- Simple API: Name(), Register(), Start(), Stop()
- Call helpers: Call(), CallContext()
- Assertions: AssertServiceRunning(), AssertCallSucceeds(), AssertCallFails()
- Access to underlying Client(), Server(), Registry()
Note: Due to go-micro's global defaults, each harness tests one service.
For multi-service testing, use integration tests or mocks.
Also fixes README.md example showing conflicting port 8080.
Co-authored-by: Shelley <shelley@exe.dev >
2026-01-27 12:35:05 +00:00
Asim Aslam
139e70e880
feat(run): integrate HTTP gateway with micro run ( #2832 )
...
micro run now starts an HTTP gateway alongside your services:
- Web dashboard at http://localhost:8080
- API proxy at /api/{service}/{method}
- Health checks at /health
- Service listing at /services
The experience is now:
$ micro new helloworld
$ cd helloworld
$ micro run
Open http://localhost:8080 to see and call your services.
New flags:
--address :3000 # Custom gateway port
--no-gateway # Disable gateway (services only)
Updated documentation to make this the central experience.
Co-authored-by: Shelley <shelley@exe.dev >
2026-01-27 12:22:45 +00:00
Asim Aslam
39484560ea
docs: add micro run documentation with hot reload and config file guide ( #2830 )
...
- Update main README with micro run quick start
- Expand cmd/micro/README.md with configuration options
- Add detailed guide at internal/website/docs/guides/micro-run.md
Documents:
- Hot reload with file watching
- micro.mu DSL configuration
- micro.json alternative
- Dependency ordering
- Environment management
- Graceful shutdown
Co-authored-by: Shelley <shelley@exe.dev >
2026-01-27 12:04:15 +00:00
Asim Aslam
d7699845bb
Add docs link
2025-11-13 20:01:32 +00:00
Asim Aslam
e755e4a823
updates for syntax highlighting
2025-11-13 18:17:45 +00:00
Asim Aslam
9e36df224b
new copilot generated documentation
2025-11-13 18:11:29 +00:00
Asim Aslam
acfb4e2639
Update README.md
2025-10-29 10:46:41 +00:00
Asim Aslam
cd735aba56
Update sponsorship link in README.md
2025-10-29 10:46:14 +00:00
Asim Aslam
8c995ea8ac
Update sponsorship link in README
2025-10-29 10:45:28 +00:00
Asim Aslam
79f5a7a7f6
Fix README formatting and sponsor button placement
2025-10-29 10:43:48 +00:00
Asim Aslam
48c310f70b
Update README.md
2025-10-29 10:43:32 +00:00
asim
66014eac68
.
2025-10-14 11:17:03 +01:00
Asim Aslam
26adf49e55
Remove Command Line section from README
...
Removed command line section from README.
2025-10-14 10:33:20 +01:00
Asim Aslam
e0af3b61a5
Change 'Toolkit' to 'Command Line' in README
...
Updated section headers in README for clarity.
2025-09-28 09:55:43 +01:00
Asim Aslam
5bbc24abe1
Clarify micro CLI usage and genai package details
...
Updated the README to clarify the usage of the micro CLI and the genai package.
2025-09-28 08:51:30 +01:00
Asim Aslam
6e53f541d3
Update README.md
2025-08-05 14:14:28 +01:00
Asim Aslam
31d2d39f76
Update README.md
2025-07-24 21:24:04 +01:00
Asim Aslam
3cf5540b0f
Update README.md
2025-07-08 19:24:19 +01:00
Asim Aslam
2a140858a8
Update README.md
2025-07-08 19:23:49 +01:00
Asim Aslam
2d19a304fc
Update README.md
2025-07-08 19:23:15 +01:00
BombartSimon
e29159e836
Rename 'Users' section to 'Adopters' in README ( #2765 )
2025-05-15 22:20:10 +01:00
Asim Aslam
7c04b7cfd6
Update README.md ( #2762 )
2025-05-15 16:13:27 +01:00
Asim Aslam
b4a87d05f7
Update README.md ( #2759 )
2025-05-15 09:37:12 +01:00
Asim Aslam
01b8394c81
Update README.md
2025-05-07 19:39:11 +01:00
Asim Aslam
f9d08a14f3
Update README.md ( #2756 )
2025-05-07 19:35:20 +01:00
Asim Aslam
a997f738dd
Update README.md
2025-05-07 19:34:21 +01:00
Asim Aslam
46db7df218
Update README.md
2025-05-07 17:07:20 +01:00
Asim Aslam
1040b7c58e
Update README.md
2025-05-01 10:27:59 +01:00
Asim Aslam
bd0e9ca7cb
Update README.md
2025-05-01 10:27:37 +01:00
Asim Aslam
f5399d56c3
Update README.md
2025-05-01 10:25:44 +01:00
Asim Aslam
0f4c238804
protoc-gen-micro has moved to micro/micro/cmd/protoc-gen-micro ( #2751 )
2025-04-30 16:50:27 +01:00
Asim Aslam
66c169076c
Update README.md
2025-04-25 09:43:41 +01:00
Asim Aslam
280eb5b46d
Update README.md
2025-04-25 09:42:43 +01:00
Asim Aslam
4ead4ff953
Update README.md ( #2750 )
2025-04-25 09:41:35 +01:00
Asim Aslam
200a3cb0ce
Update README.md ( #2749 )
2025-04-23 16:04:24 +01:00
Asim Aslam
049dea6804
Update README.md
2025-04-23 15:56:47 +01:00
Asim Aslam
1c6c1ff1a3
Update README.md ( #2722 )
2024-07-15 11:55:17 +01:00
asim
9a7cd8ce66
update readme
2024-07-08 18:52:06 +01:00
Asim Aslam
4dcf2e58c0
Update README.md ( #2720 )
2024-07-07 08:05:08 +01:00
Asim Aslam
c05c11e0c3
Update README.md ( #2719 )
2024-07-04 10:29:05 +01:00
Asim Aslam
e9ceb66e32
Update README.md
2024-06-05 18:28:17 +01:00
asim
610c00859f
v5
2024-06-04 21:40:43 +01:00
Asim Aslam
53f691da30
Update README.md ( #2711 )
2024-06-04 20:21:05 +01:00
Asim Aslam
6e55bb1a0e
Update README.md ( #2692 )
2024-02-10 18:47:38 +00:00
Asim Aslam
27c488712e
Update README.md ( #2652 )
2023-08-07 09:46:15 +01:00
Asim Aslam
c3d7c65c88
Update README.md ( #2650 )
2023-07-20 07:49:53 +01:00
Asim Aslam
384814c885
Update README.md ( #2648 )
2023-07-17 09:33:34 +01:00
Asim Aslam
8a3a98a8b8
Update README.md ( #2647 )
2023-07-16 12:02:53 +01:00
clearcode
8020303017
Update README.md ( #2635 )
2023-05-06 21:39:24 +02:00