add 'npm run dev' for a quick dev-startup command
This commit is contained in:
+5
-5
@@ -10,7 +10,7 @@ This guide explains how to build TimeSafari for different platforms using the co
|
||||
# 🖥️ Web Development
|
||||
npm install # setup -- and pkgx.dev `dev` command before this will set environment with npm, etc
|
||||
npm run build:web:serve -- --test # Start with test endorser server
|
||||
npm run build:web:dev # Start development server with hot reload with local endorser server
|
||||
npm run dev # Start development server with hot reload with local endorser server
|
||||
npm run build:web:prod # Production build
|
||||
|
||||
# 📱 Mobile Development
|
||||
@@ -44,7 +44,7 @@ npm run test:web # Run web tests to verify setup
|
||||
|
||||
```bash
|
||||
# Start web development server
|
||||
npm run build:web:dev # Opens http://localhost:8080
|
||||
npm run dev # Opens http://localhost:8080
|
||||
|
||||
# For mobile development
|
||||
npm run build:ios # Opens Xcode with iOS project
|
||||
@@ -225,7 +225,7 @@ npm install
|
||||
|
||||
```bash
|
||||
# Local development
|
||||
npm run build:web:dev # Start development server with hot reload
|
||||
npm run dev # Start development server with hot reload (shortcut for `build:web:dev`)
|
||||
|
||||
# Web builds
|
||||
npm run build:web # Development build (starts dev server with hot reload)
|
||||
@@ -241,7 +241,7 @@ npm run build:web:docker:prod # Production build with Docker containerizat
|
||||
|
||||
### Local Development
|
||||
|
||||
Start the development server using `npm run build:web:dev` or `npm run build:web` (both start the development server with hot reload).
|
||||
Start the development server using `npm run dev` (a shortcut for `npm run build:web:dev`) or `npm run build:web` (both start the development server with hot reload).
|
||||
|
||||
### Web Build for Server
|
||||
|
||||
@@ -2407,7 +2407,7 @@ npm run clean:electron # Electron only
|
||||
# Clean and rebuild
|
||||
npm run clean:all
|
||||
npm install
|
||||
npm run build:web:dev
|
||||
npm run dev
|
||||
```
|
||||
|
||||
## Appendix B: Vite Configuration Files Reference
|
||||
|
||||
Reference in New Issue
Block a user