-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdev.sh
More file actions
executable file
Β·42 lines (31 loc) Β· 936 Bytes
/
dev.sh
File metadata and controls
executable file
Β·42 lines (31 loc) Β· 936 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
33
34
35
36
37
38
39
40
41
42
# MaClipHistory Development Script
echo "π§ MaClipHistory Development Setup"
echo "================================="
# Check if Node.js is installed
if ! command -v node &> /dev/null; then
echo "β Node.js is not installed. Please install Node.js first:"
echo " Visit: https://nodejs.org/"
exit 1
fi
echo "β
Node.js is installed"
# Install dependencies
echo "π¦ Installing dependencies..."
npm install
if [ $? -ne 0 ]; then
echo "β Failed to install dependencies"
exit 1
fi
echo "β
Dependencies installed successfully"
# Build the application
echo "π¨ Building the application..."
npm run build
if [ $? -ne 0 ]; then
echo "β Failed to build the application"
exit 1
fi
echo "β
Application built successfully"
# Start the application in development mode
echo "π Starting MaClipHistory in development mode..."
echo " Press Ctrl+C to stop the application"
echo ""
npm run dev