Speedofmastery commited on
Commit
25b669a
·
1 Parent(s): 06e37d1

Auto-commit: start.sh updated

Browse files
Files changed (1) hide show
  1. start.sh +9 -12
start.sh CHANGED
@@ -4,20 +4,17 @@
4
 
5
  echo "🐧 Starting OpenManus Platform on Linux..."
6
 
7
- # Set proper permissions
8
- chmod +x /home/user/app/app.py
9
-
10
  # Create necessary directories
11
- mkdir -p /home/user/app/logs
12
- mkdir -p /home/user/app/data
13
- mkdir -p /home/user/app/cache
 
14
 
15
- # Initialize SQLite database
16
- echo "📁 Initializing database..."
17
- python3 -c "
18
- import sqlite3
19
- import os
20
- db_path = '/home/user/app/openmanus.db'
21
  if not os.path.exists(db_path):
22
  print('Creating database...')
23
  conn = sqlite3.connect(db_path)
 
4
 
5
  echo "🐧 Starting OpenManus Platform on Linux..."
6
 
 
 
 
7
  # Create necessary directories
8
+ mkdir -p logs data cache
9
+
10
+ # Set proper permissions
11
+ chmod +x app.py
12
 
13
+ # Check Python and show system info
14
+ echo " System Information:"
15
+ echo "Python version: $(python3 --version)"
16
+ echo "Working directory: $(pwd)"
17
+ echo "User: $(whoami)"
 
18
  if not os.path.exists(db_path):
19
  print('Creating database...')
20
  conn = sqlite3.connect(db_path)