-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.sh
More file actions
executable file
·62 lines (56 loc) · 1.85 KB
/
Copy pathsetup.sh
File metadata and controls
executable file
·62 lines (56 loc) · 1.85 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#!/bin/bash
# TaskPilot Full-Stack Setup Script
echo "🚀 Setting up TaskPilot Full-Stack Application..."
# Check if Docker is installed (optional)
if command -v docker &> /dev/null; then
echo "🐳 Docker detected. You can use Docker Compose for easier setup."
echo " Run: docker-compose up -d (if docker-compose.yml exists)"
fi
# Check if MongoDB is running
if command -v mongod &> /dev/null; then
echo "🍃 MongoDB detected. Make sure it's running on port 27017"
else
echo "⚠️ MongoDB not found. Please install MongoDB or use Docker."
fi
# Check if Redis is running
if command -v redis-server &> /dev/null; then
echo "🔴 Redis detected. Make sure it's running on port 6379"
else
echo "⚠️ Redis not found. Please install Redis or use Docker."
fi
echo ""
echo "📋 Setup Instructions:"
echo ""
echo "1. Backend Setup:"
echo " cd backend"
echo " ./setup.sh"
echo " # Edit .env file with your configuration"
echo " python manage.py migrate"
echo " python manage.py createsuperuser"
echo " python manage.py runserver"
echo ""
echo "2. Frontend Setup:"
echo " cd frontend"
echo " ./setup.sh"
echo " npm start"
echo ""
echo "3. Access the application:"
echo " Frontend: http://localhost:3000"
echo " Backend API: http://localhost:8000"
echo " Admin Panel: http://localhost:8000/admin"
echo ""
echo "🔧 Environment Variables:"
echo " Backend: Edit backend/.env"
echo " Frontend: Create frontend/.env.local if needed"
echo ""
echo "📚 Features Available:"
echo " ✅ User Authentication (Register/Login)"
echo " ✅ Task CRUD Operations"
echo " ✅ Real-time Updates via WebSocket"
echo " ✅ Task Filtering and Sorting"
echo " ✅ Progress Tracking"
echo " ✅ Task Comments and Activities"
echo " ✅ Notifications System"
echo " ✅ Responsive Design"
echo ""
echo "🎉 Happy coding with TaskPilot!"