Update port in FastAPI README, add run steps to nextjs README

This commit is contained in:
Mark Backman
2025-04-07 11:02:09 -04:00
parent 9e0a57a6de
commit d4ae091ddd
3 changed files with 20 additions and 10 deletions

View File

@@ -38,13 +38,13 @@ Start the server:
python server.py
```
The server will run on `http://localhost:3000` and you can expose it via ngrok for testing:
The server will run on `http://localhost:7860` and you can expose it via ngrok for testing:
```bash
`ngrok http 3000`
`ngrok http 7860`
```
> Tip: Use a subdomain for a consistent URL (e.g. `ngrok http -subdomain=mydomain http://localhost:3000`)
> Tip: Use a subdomain for a consistent URL (e.g. `ngrok http -subdomain=mydomain http://localhost:7860`)
## API Endpoints

View File

@@ -42,11 +42,21 @@ Next.js API routes for handling Daily PSTN/SIP Pipecat requests.
LOG_LEVEL=info
```
6. Run the development server:
### Running the server
```bash
npm run dev
```
Run the development server:
```bash
npm run dev
```
The server will run on `http://localhost:7860` and you can expose it via ngrok for testing:
```bash
`ngrok http 7860`
```
> Tip: Use a subdomain for a consistent URL (e.g. `ngrok http -subdomain=mydomain http://localhost:7860`)
## API Endpoints

View File

@@ -1,4 +1,4 @@
PINLESS_HMAC_SECRET=your_hmac_secret
PIPECAT_CLOUD_API_KEY=your_daily_api_key
AGENT_NAME=my-first-agent
PORT=8000
PIPECAT_CLOUD_API_KEY=your_daily_api_key
PINLESS_HMAC_SECRET=your_hmac_secret
LOG_LEVEL="info"