forked from AnitusA/class
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstart.sh
More file actions
32 lines (26 loc) Β· 894 Bytes
/
Copy pathstart.sh
File metadata and controls
32 lines (26 loc) Β· 894 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
#!/bin/bash
echo "π Starting Class Management System..."
echo "π Current directory: $(pwd)"
# Check if we're in the right directory
if [ ! -f "package.json" ]; then
echo "β Error: package.json not found"
echo "Please make sure you're in the class-management-system directory"
exit 1
fi
echo "π¦ Installing dependencies..."
npm install
echo "π§ Checking environment variables..."
if [ ! -f ".env" ]; then
echo "β Error: .env file not found"
echo "Please create a .env file with your Supabase credentials"
exit 1
fi
echo "β
Environment configured!"
echo "π Starting development server..."
echo "π± Your application will be available at: http://localhost:3000"
echo ""
echo "Default login credentials:"
echo "π¨βπ Student: Registration Number = STU001, Password = admin123"
echo "π¨βπΌ Admin: Passkey = admin123"
echo ""
npm run dev