-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.bat
More file actions
32 lines (27 loc) · 831 Bytes
/
Copy pathsetup.bat
File metadata and controls
32 lines (27 loc) · 831 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
@echo off
echo 🚀 Setting up Business System...
REM Install root dependencies
echo 📦 Installing root dependencies...
npm install
REM Install server dependencies
echo 📦 Installing server dependencies...
cd server && npm install && cd ..
REM Install client dependencies
echo 📦 Installing client dependencies...
cd client && npm install && cd ..
REM Copy environment files
echo 📝 Setting up environment files...
copy server\env.example server\.env
copy client\env.example client\.env.local
echo ✅ Setup complete!
echo.
echo Next steps:
echo 1. Edit server\.env with your database configuration
echo 2. Edit client\.env.local if needed
echo 3. Run: npm run db:push
echo 4. Run: npm run db:seed
echo 5. Run: npm run dev
echo.
echo 🌐 Frontend: http://localhost:3000
echo 🔧 Backend: http://localhost:3001
pause