Spaces:
Running
Running
Upload start.sh
Browse files
start.sh
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
|
| 3 |
+
# Navigate into the correct subfolder where your code lives
|
| 4 |
+
cd alisto_project/backend
|
| 5 |
+
|
| 6 |
+
# 1. Start the AI Scraper in the background
|
| 7 |
+
python ingest_reddit.py &
|
| 8 |
+
|
| 9 |
+
# 2. Start the Website
|
| 10 |
+
# We use 'app:app' because app.py is in this current folder
|
| 11 |
+
gunicorn -b 0.0.0.0:7860 app:app
|