Upload startup.sh with huggingface_hub
Browse files- startup.sh +21 -0
startup.sh
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
|
| 3 |
+
# Startup script for AuraNexus AI Content Orchestration Platform
|
| 4 |
+
|
| 5 |
+
echo "Starting AuraNexus AI Content Orchestration Platform..."
|
| 6 |
+
|
| 7 |
+
# Start the API server
|
| 8 |
+
echo "Starting API server on port 8000..."
|
| 9 |
+
cd /data/data/com.termux/files/home/ai_cloud_workspace/auranexus
|
| 10 |
+
uvicorn main:app --host 0.0.0.0 --port 8000 --reload &
|
| 11 |
+
|
| 12 |
+
# Start the frontend server
|
| 13 |
+
echo "Starting frontend on port 3000..."
|
| 14 |
+
cd frontend
|
| 15 |
+
python -m http.server 3000 &
|
| 16 |
+
|
| 17 |
+
echo "AuraNexus platform is now running!"
|
| 18 |
+
echo "API: http://localhost:8000"
|
| 19 |
+
echo "Frontend: http://localhost:3000"
|
| 20 |
+
echo ""
|
| 21 |
+
echo "To access the platform, open your web browser and go to: http://localhost:3000"
|