Spaces:
Paused
Paused
Commit
·
25b669a
1
Parent(s):
06e37d1
Auto-commit: start.sh updated
Browse files
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
|
| 12 |
-
|
| 13 |
-
|
|
|
|
| 14 |
|
| 15 |
-
#
|
| 16 |
-
echo "
|
| 17 |
-
python3
|
| 18 |
-
|
| 19 |
-
|
| 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)
|