mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-10-22 15:53:59 +00:00
Docs: make sure shell examples can be copied (#1670)
close #1656 --------- Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
This commit is contained in:
@@ -115,13 +115,14 @@ Or you can open the test-file inside [VS-Code](#developing-with-vs-code) and run
|
||||
|
||||
If you want to run a Woodpecker applications from your terminal you can use one of the following commands from the base of the Woodpecker project. They will execute Woodpecker in a similar way as described in [debugging Woodpecker](#debugging-woodpecker) without the ability to really debug it in your editor.
|
||||
|
||||
```bash
|
||||
# start server
|
||||
$ go run ./cmd/server
|
||||
|
||||
# start agent
|
||||
$ go run ./cmd/agent
|
||||
|
||||
# execute cli command
|
||||
$ go run ./cmd/cli [command]
|
||||
```bash title="start server"
|
||||
go run ./cmd/server
|
||||
```
|
||||
|
||||
```bash title="start agent"
|
||||
go run ./cmd/agent
|
||||
```
|
||||
|
||||
```bash title="execute cli command"
|
||||
go run ./cmd/cli [command]
|
||||
```
|
||||
|
Reference in New Issue
Block a user