mirror of
https://github.com/UofCBaja/BajaCloud.git
synced 2025-06-14 04:34:17 -06:00
feat(main): ready for final touches
This commit is contained in:
parent
f03bb3d0d2
commit
b23d807d8d
@ -9,7 +9,7 @@ import os
|
||||
year_donation = int(str(datetime.datetime.now().year)[2:]) + 1 # gets the last two digits of the current year then adds 1 for the current season
|
||||
# name based off the 2025 naming system
|
||||
# Define the path to the Excel file and the lock file
|
||||
file_name = f"./Interviews/OR{year_donation}-L-Interview Data.xlsx"
|
||||
file_name = f"/Interviews/OR{year_donation}-L-Interview Data.xlsx"
|
||||
if not os.path.isfile(file_name):
|
||||
os.makedirs(os.path.dirname(file_name), exist_ok=True)
|
||||
NoSheet(file_name)
|
||||
|
@ -1,4 +1,5 @@
|
||||
fastapi[standard]
|
||||
pandas
|
||||
openpyxl
|
||||
PyYAML
|
||||
PyYAML
|
||||
filelock
|
@ -20,7 +20,7 @@ def send_email(interviewee_email="darkicewolf50@gmail.com", interviewee_name="br
|
||||
``Contact``: ahmad.ahmad1@ucalgary.ca
|
||||
"""
|
||||
# Define static email for notifications and Gmail credentials
|
||||
static_email = "uofcbaja.noreply@gmail.com"
|
||||
static_email = "uofcbaja@gmail.com"
|
||||
gmail_user = "uofcbaja.noreply@gmail.com"
|
||||
gmail_apppassword = "pver lpnt upjd zvld"
|
||||
|
||||
|
@ -11,8 +11,9 @@ COPY ./ContainerContents /BajaCloudBackend
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
# Expose port 8080 for the container to listen on
|
||||
EXPOSE 8080
|
||||
EXPOSE 8000
|
||||
|
||||
# Command to run the Python server when the container starts
|
||||
#CMD ["fastapi", "run" "main.py"]
|
||||
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--reload"]
|
||||
|
||||
|
BIN
bajacloud.tar.gz
Normal file
BIN
bajacloud.tar.gz
Normal file
Binary file not shown.
@ -2,7 +2,7 @@ services:
|
||||
bajacloud:
|
||||
container_name: bajacloud
|
||||
ports:
|
||||
- 8080:8080
|
||||
- 8080:8000
|
||||
volumes:
|
||||
- ./mock:/Interviews
|
||||
build: .
|
||||
|
BIN
mock/OR25-L-Interview Data.xlsx
Normal file
BIN
mock/OR25-L-Interview Data.xlsx
Normal file
Binary file not shown.
0
mock/OR25-L-Interview Data.xlsx.lock
Normal file
0
mock/OR25-L-Interview Data.xlsx.lock
Normal file
Loading…
x
Reference in New Issue
Block a user