Meet an db excpetion when testing backend without docker #1130
Replies: 3 comments 5 replies
-
@chenkuangqi I want to use this template without Docker too with only the backend to make an api only project. I tried with virtuaenv, can you explain your process without Docker ? |
Beta Was this translation helpful? Give feedback.
-
I installed the dependencies with poetry and when I lauch uvicor, I have an error PROJECT_NAME |
Beta Was this translation helpful? Give feedback.
-
That is an unusual way.. Now we are facing similar situation, which may caused by the migration part of the code. |
Beta Was this translation helpful? Give feedback.
-
First Check
Commit to Help
Example Code
Description
Despite of the comments in the init_db saying that un-comment next lines to avoid using migrations, there must be a mistake in the code:
from app.core.engine import engine
(Line 21).There is no module named app.core.engine.
Exception Content:
I run initial_data.py and backend_pre_start.py separately.
Operating System
Linux
Operating System Details
VM running Ubuntu
Python Version
Python 3.11.0rc1
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions