-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.sh
More file actions
20 lines (16 loc) · 701 Bytes
/
setup.sh
File metadata and controls
20 lines (16 loc) · 701 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash
echo "Starting Deblog Setup Process..."
echo "-----------------------------------"
echo
# Backend Part
echo "Starting backend Setup..."
gnome-terminal -- bash -c "cd backend; echo 'Setting up Backend...'; npm install; exec bash" &
# Frontend Part
echo "Starting frontend Setup..."
gnome-terminal -- bash -c "cd frontend; echo 'Setting up Frontend...'; npm install; exec bash" &
# End of script
# Note: This script assumes you are using gnome-terminal. If you are using a different terminal emulator, you may need to modify the script accordingly.
# Make sure to give execute permission to this script before running it:
# chmod +x setup.sh
# You can run the script using:
# ./setup.sh