From 627d6f9d5df8d3f2a990531fe094044b8dc5b961 Mon Sep 17 00:00:00 2001 From: Akasha Thorne Date: Mon, 13 Oct 2025 02:05:29 -0700 Subject: [PATCH] Update README to replace mention of build steps with basic tsx usage --- apps/download-blob/README.md | 22 +++++----------------- 1 file changed, 5 insertions(+), 17 deletions(-) diff --git a/apps/download-blob/README.md b/apps/download-blob/README.md index cecbc4b..be624f4 100644 --- a/apps/download-blob/README.md +++ b/apps/download-blob/README.md @@ -52,32 +52,20 @@ const BLOB_NAME = "your-blob-name.ext" // Change this to your desired blob name ## Usage -### Development Mode - -Run the example in development mode with automatic rebuilding: +Run the example using the start script: ```bash -npm run dev +npm start ``` -### Production Mode - -1. Build the app: - ```bash - npm run build - ``` - -2. Run the built app: - ```bash - npm start - ``` +This will execute the TypeScript file directly using tsx with the environment variables from your `.env` file. -### Direct Execution +### Alternative Execution You can also run the TypeScript file directly using tsx: ```bash -npx tsx src/index.ts +npx tsx --env-file=.env src/index.ts ``` ## How It Works