ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt' (render.com)
I'm trying to deploy a simple CRUD Django app suing the service of render.com. I have set up the config based on their documentation, but when I try to deploy it, the error ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt' comes up.
Build error
Feb 4 10:45:16 AM ==> Cloning from https://github.com/user/django-crud-app...
Feb 4 10:45:20 AM ==> Checking out commit ed701ede6bde3f7c7abd1378f656c7763b063917 in branch main
Feb 4 10:45:24 AM ==> Using Python version: 3.7.10
Feb 4 10:45:28 AM ==> Running build command 'pip3 install -r requirements.txt'...
Feb 4 10:45:29 AM ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'
Feb 4 10:45:29 AM WARNING: You are using pip version 20.1.1; however, version 23.0 is available.
Feb 4 10:45:29 AM You should consider upgrading via the '/opt/render/project/src/.venv/bin/python -m pip install --upgrade pip' command.
Feb 4 10:45:29 AM ==> Build failed 😞
Feb 4 10:45:29 AM ==> Generating container image from build. This may take a few minutes...
I have generated my requirements.txt
asgiref==3.6.0
autopep8==2.0.1
dj-database-url==1.2.0
Django==4.1.5
gunicorn==20.1.0
psycopg2-binary==2.9.5
pycodestyle==2.10.0
sqlparse==0.4.3
whitenoise==6.3.0
No sure what el to do.
I try to deploy a Django app with render.com