-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.sh
More file actions
37 lines (31 loc) · 736 Bytes
/
setup.sh
File metadata and controls
37 lines (31 loc) · 736 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
#!/bin/bash
echo "Installing MyFeedDeck Electron dependencies..."
echo
# Check if Node.js is installed
if ! command -v node &> /dev/null; then
echo "Error: Node.js is not installed or not in PATH"
echo "Please install Node.js from https://nodejs.org/"
exit 1
fi
echo "Node.js version:"
node --version
echo
# Install dependencies
echo "Installing npm dependencies..."
npm install
if [ $? -ne 0 ]; then
echo "Error: Failed to install dependencies"
exit 1
fi
echo
echo "Setup completed successfully!"
echo
echo "To start the application in development mode:"
echo " npm run dev"
echo
echo "To build the application:"
echo " npm run build"
echo
echo "To start the production application:"
echo " npm start"
echo