Ezhil commited on
Commit
7c6266c
·
1 Parent(s): 76647ec

backend deployment

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. logs/backend.log +25 -0
Dockerfile CHANGED
@@ -16,6 +16,6 @@ RUN pip install --no-cache-dir -r requirements.txt
16
 
17
  EXPOSE 7860
18
  # Run FastAPI and Streamlit in parallel
19
- CMD ["uvicorn" ,"api.main:app","--host" ,"0.0.0.0", "--port", "7860"]
20
 
21
 
 
16
 
17
  EXPOSE 7860
18
  # Run FastAPI and Streamlit in parallel
19
+ CMD ["uvicorn" ,"main:app","--host" ,"0.0.0.0", "--port", "7860"]
20
 
21
 
logs/backend.log CHANGED
@@ -180,3 +180,28 @@
180
  2025-02-12 16:08:26,025 - INFO - Application shutdown complete.
181
  2025-02-12 16:08:26,026 - INFO - Finished server process [10856]
182
  2025-02-12 16:08:26,190 - INFO - Stopping reloader process [5188]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
180
  2025-02-12 16:08:26,025 - INFO - Application shutdown complete.
181
  2025-02-12 16:08:26,026 - INFO - Finished server process [10856]
182
  2025-02-12 16:08:26,190 - INFO - Stopping reloader process [5188]
183
+ 2025-02-12 16:22:00,994 - INFO - CSV file loaded successfully from: C:\Users\User\Desktop\Data_Insights\backend\data\world_population.csv
184
+ 2025-02-12 16:22:01,030 - INFO - Data processing completed.
185
+ 2025-02-12 16:22:01,059 - INFO - Starting FastAPI application...
186
+ 2025-02-12 16:22:01,085 - INFO - Will watch for changes in these directories: ['C:\\Users\\User\\Desktop\\Data_Insights\\backend']
187
+ 2025-02-12 16:22:01,092 - INFO - Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
188
+ 2025-02-12 16:22:01,094 - INFO - Started reloader process [9804] using WatchFiles
189
+ 2025-02-12 16:22:03,112 - INFO - CSV file loaded successfully from: C:\Users\User\Desktop\Data_Insights\backend\data\world_population.csv
190
+ 2025-02-12 16:22:03,133 - INFO - Data processing completed.
191
+ 2025-02-12 16:22:03,163 - INFO - Starting FastAPI application...
192
+ 2025-02-12 16:22:03,164 - INFO - Started server process [9132]
193
+ 2025-02-12 16:22:03,173 - INFO - Waiting for application startup.
194
+ 2025-02-12 16:22:03,176 - INFO - Application startup complete.
195
+ 2025-02-12 16:22:08,281 - INFO - Home endpoint accessed
196
+ 2025-02-12 16:22:23,600 - INFO - Fetching all continents
197
+ 2025-02-12 16:22:23,601 - INFO - Fetching all continents.
198
+ 2025-02-12 16:22:44,740 - INFO - Fetching statistics for continent: Asia, stat: None
199
+ 2025-02-12 16:22:44,741 - INFO - Fetching data for continent: Asia
200
+ 2025-02-12 16:22:44,748 - INFO - Successfully fetched data for Asia
201
+ 2025-02-12 16:24:57,920 - INFO - 1 change detected
202
+ 2025-02-12 16:25:01,832 - INFO - 1 change detected
203
+ 2025-02-12 16:25:32,047 - INFO - Shutting down
204
+ 2025-02-12 16:25:32,157 - INFO - Waiting for application shutdown.
205
+ 2025-02-12 16:25:32,159 - INFO - Application shutdown complete.
206
+ 2025-02-12 16:25:32,160 - INFO - Finished server process [9132]
207
+ 2025-02-12 16:25:32,358 - INFO - Stopping reloader process [9804]