Unify systemctl services start and remove make build instructions
Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
@@ -92,13 +92,11 @@ Manage them with `systemctl`:
|
||||
|
||||
**Start the app:**
|
||||
```bash
|
||||
./contrib/lima/sandbox.sh exec -- make build
|
||||
./contrib/lima/sandbox.sh exec -- sudo systemctl start probod probo-console probo-trust
|
||||
```
|
||||
|
||||
**Run tests:**
|
||||
```bash
|
||||
./contrib/lima/sandbox.sh exec -- make build
|
||||
./contrib/lima/sandbox.sh exec -- make test
|
||||
```
|
||||
|
||||
@@ -106,12 +104,3 @@ Manage them with `systemctl`:
|
||||
```bash
|
||||
./contrib/lima/sandbox.sh exec -- make test-e2e
|
||||
```
|
||||
|
||||
**Restart after code changes:**
|
||||
Code changes are reflected immediately (virtiofs mount). Just rebuild and
|
||||
restart probod — no need to restart the VM.
|
||||
|
||||
```bash
|
||||
./contrib/lima/sandbox.sh exec -- make build
|
||||
./contrib/lima/sandbox.sh exec -- sudo systemctl restart probod
|
||||
```
|
||||
|
||||
@@ -249,4 +249,4 @@ EOF
|
||||
systemctl daemon-reload
|
||||
systemctl enable --now probo-node-modules.service
|
||||
systemctl enable --now probo-stack.service
|
||||
systemctl enable probod.service probo-console.service probo-trust.service
|
||||
systemctl enable --now probod.service probo-console.service probo-trust.service
|
||||
|
||||
@@ -81,7 +81,6 @@ cmd_create() {
|
||||
cmd_start() {
|
||||
echo "Starting sandbox: ${VM_NAME}"
|
||||
limactl start "${VM_NAME}"
|
||||
cmd_exec -- sudo systemctl start probod probo-console probo-trust
|
||||
echo ""
|
||||
cmd_status
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user