I created a basic application for personal use. The backed of my application uses Fast Api with a SQLite database. Usually to run my start up and run my backend server I have to use the following commands:
// Using Virtual ENV
source env/Scripts/activate
pip install -r requirements.txt
uvicorn main:app --reload
I have seen other people create a python executable before. I would like to do the same but I need it to start the uvicorn server. How do I create a python executable that runs a uvicorn server?
Or is it better to just write a batch script that does this?