From 450113f0abb3baa033139162f38d7269b8c66b59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Neves?= Date: Fri, 26 Jun 2026 12:06:08 +0000 Subject: [PATCH] docs: remove duplicate Development/Testing/Troubleshooting sections from DEPLOYMENT.md The Development, Testing, and Troubleshooting sections in DEPLOYMENT.md duplicated content already present in README.md, creating documentation drift risk. Removed these sections and added a cross-reference to the README for development, testing, and troubleshooting instructions. Kept the Build for Production section since it's directly relevant to deployment workflows. --- DEPLOYMENT.md | 59 ++------------------------------------------------- 1 file changed, 2 insertions(+), 57 deletions(-) diff --git a/DEPLOYMENT.md b/DEPLOYMENT.md index 38e49dd..8d2e4e0 100644 --- a/DEPLOYMENT.md +++ b/DEPLOYMENT.md @@ -73,67 +73,12 @@ Upload the contents of `build/` to your hosting provider: No environment variables are required for the base application. All Lightning Network decoding happens client-side. -## Development - -### Local Development - -```bash -npm install -npm run dev -``` - -The app will be available at `http://localhost:5173` - -### Storybook - -```bash -npm run storybook -``` - -Storybook will be available at `http://localhost:6006` - -### Testing - -```bash -npm test -``` - -Run the test suite with Vitest. - ## Build for Production ```bash npm run build ``` -The optimized production build will be in the `build/` folder. +The optimized production build will be in the `build/` folder. All static hosting providers can serve this directory. -## Troubleshooting - -### Build fails with dependency errors - -Make sure you're using Node.js 18 or higher: - -```bash -node --version -``` - -If you need to upgrade Node.js, use a version manager like nvm. - -### Storybook not loading - -Clear the Storybook cache: - -```bash -rm -rf node_modules/.cache/storybook -npm run storybook -``` - -### Tests failing - -Make sure all dependencies are installed: - -```bash -npm install -npm test -``` +> **Note**: See [README.md](./README.md) for development, testing, and troubleshooting instructions.