Bootstrap a Flask and SQLAlchemy project. Get autocomplete out of the box with Visual Studio Code.
- Install Poetry by following its installation instructions. Make sure that the system path to Poetry is specified in your environment variables.
- Clone this repo.
- Run the following commands:
poetry install
If you are on Windows, run the following commands in Powershell as an administrator to enable running Powershell scripts from Poetry:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
- From Visual Studio Code, switch your default python interpreter to that of this project.
- Run the web server by running the following commands:
poetry run python index.py