mirror of
https://github.com/block/goose.git
synced 2026-04-28 03:29:36 +00:00
delete goose web (#7696)
Co-authored-by: Douwe Osinga <douwe@squareup.com>
This commit is contained in:
parent
d7ffedaa6e
commit
a7fb7e199c
13 changed files with 0 additions and 2036 deletions
|
|
@ -1,26 +0,0 @@
|
|||
#!/bin/bash
|
||||
# Test script for Goose Web Interface
|
||||
|
||||
echo "Testing Goose Web Interface..."
|
||||
echo "================================"
|
||||
|
||||
# Start the web server in the background
|
||||
echo "Starting web server on port 8080..."
|
||||
./target/debug/goose web --port 8080 &
|
||||
SERVER_PID=$!
|
||||
|
||||
# Wait for server to start
|
||||
sleep 2
|
||||
|
||||
# Test the health endpoint
|
||||
echo -e "\nTesting health endpoint:"
|
||||
curl -s http://localhost:8080/api/health | jq .
|
||||
|
||||
# Open browser (optional)
|
||||
# open http://localhost:8080
|
||||
|
||||
echo -e "\nWeb server is running at http://localhost:8080"
|
||||
echo "Press Ctrl+C to stop the server"
|
||||
|
||||
# Wait for user to stop
|
||||
wait $SERVER_PID
|
||||
Loading…
Add table
Add a link
Reference in a new issue