log to project dir, add web.log to gitignore
This commit is contained in:
parent
45adc385a0
commit
fe997f6522
2
start.sh
2
start.sh
|
|
@ -27,7 +27,7 @@ start_backend() {
|
||||||
start_frontend() {
|
start_frontend() {
|
||||||
echo "=== Starting Frontend (opencode web) ==="
|
echo "=== Starting Frontend (opencode web) ==="
|
||||||
cd "$PROJECT_DIR"
|
cd "$PROJECT_DIR"
|
||||||
nohup opencode web --port 3000 > /tmp/opencode-web.log 2>&1 &
|
nohup opencode web --port 3000 > "$PROJECT_DIR/web.log" 2>&1 &
|
||||||
echo "Frontend PID=$!"
|
echo "Frontend PID=$!"
|
||||||
echo "Web interface: http://127.0.0.1:3000/"
|
echo "Web interface: http://127.0.0.1:3000/"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue