Update port in FastAPI README, add run steps to nextjs README
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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"
|
||||
Reference in New Issue
Block a user