fix: update build commands and paths in configuration and documentation

This commit is contained in:
YaRissi
2025-10-17 22:57:05 +02:00
parent ad185a42ee
commit 4a8a659090
5 changed files with 14 additions and 14 deletions
+2 -2
View File
@@ -5,14 +5,14 @@ tmp_dir = "tmp"
[build]
args_bin = []
bin = "./coolify"
cmd = "go build -o ./coolify ."
cmd = "go build -o ./coolify ./coolify"
delay = 1000
exclude_dir = ["assets", "tmp", "vendor", "testdata", ".git", ".conductor"]
exclude_file = []
exclude_regex = ["_test.go"]
exclude_unchanged = false
follow_symlink = false
full_bin = "echo 'Build complete. Binary: ./coolify'"
full_bin = "echo 'Build complete. Binary: ./coolify/coolify'"
include_dir = []
include_ext = ["go", "tpl", "tmpl", "html"]
include_file = []
+3 -3
View File
@@ -67,13 +67,13 @@ go build -o coolify ./coolify
### Run locally
```bash
go run ./coolify [command]
go run ./coolify/coolify [command]
```
### Test a command
```bash
go run ./coolify context list
go run ./coolify servers list --debug
go run ./coolify/coolify context list
go run ./coolify/coolify servers list --debug
```
### Install locally
+5 -5
View File
@@ -37,7 +37,7 @@ git clone https://github.com/YOUR_USERNAME/coolify-cli.git
cd coolify-cli
# Build the CLI
go build -o coolify .
go build -o coolify ./coolify
# Install locally
go install
@@ -47,14 +47,14 @@ go install
```bash
# Run without installing
go run main.go [command]
go run ./coolify [command]
# Example commands
go run main.go context list
go run main.go server list --debug
go run ./coolify context list
go run ./coolify server list --debug
# With flags
go run main.go server list --format json --debug
go run ./coolify server list --format json --debug
```
### Project Structure
+2 -2
View File
@@ -457,7 +457,7 @@ This CLI follows a clean architecture with:
```bash
# Build
go build -o coolify .
go build -o coolify ./coolify
# Run tests
go test ./...
@@ -466,7 +466,7 @@ go test ./...
go test -cover ./...
# Install locally
go install
go install ./coolify
```
## Contributing
+2 -2
View File
@@ -47,11 +47,11 @@ fi
# Build the binary
echo "🔨 Building coolify binary..."
if ! go build -o coolify .; then
if ! go build -o coolify ./coolify; then
echo "❌ Error: Build failed"
exit 1
fi
echo "✅ Binary built successfully: ./coolify"
echo "✅ Binary built successfully: ./coolify/coolify"
echo "🎉 Workspace setup complete!"
echo "🔥 Use the run script for hot reload during development"