Answer the question
In order to leave comments, you need to log in
start.sh for flask(python)?
Good evening, I have a flask application in the form of a package, and I'm fed up with writing functions to the terminal every time before launching:
source venv/bin/activate
export FLASK_APP=app
export FLASK_DEBUG=true
pip install -e .
flask run
Answer the question
In order to leave comments, you need to log in
Answer from Timeweb support You
need to create a bash script.
Add all commands to it (for example, start.sh ) (add shebang #!/bin/bash to the beginning) and give permissions to it:
chmod +x ./start.sh
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question