Open Kamlesh72 opened 3 weeks ago
I also faced the same error, Additionally while deploying it via docker I got cron error.
CNTNR failed to solve: process "/bin/sh -c crontab /etc/cron.d/cronjob" did not complete successfully: exit code: 1
When I tried to debug this using methods available on the internet I was able to go past this step but then again Docker Container failed to run. I am running this on a Windows 11 System using Git Bash.
Hey @Kamlesh72, Thank you for reporting the bug. I believe this has been fixed.
Now the backend reads env variable from the .env
file present in the root directory. Take the latest pull of the repository and try running it. Make sure you have the .env
file created in the project root.
Description:
I am trying to run the project locally by following Manual Setup instructions given in the readme. I successfully created virtual environment and installed dependences and created .env.local file in the /backend directory. However on running the command
flask --app app --debug run --port 9696
, I encountered following error:File "/Users/kamlesh/Desktop/middleware/backend/venv/lib/python3.11/site-packages/sqlalchemy/engine/url.py", line 903, in _parse_url components["port"] = int(components["port"]) ValueError: invalid literal for int() with base 10: 'None'
Steps to reproduce:
Expected behavior:
The server should run after executing the command.