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