/flasker

Bootstrap a Flask and SQLAlchemy project

Primary LanguagePython

flasker

Bootstrap a Flask and SQLAlchemy project. Get autocomplete out of the box with Visual Studio Code.

Install instructions

  1. Install Poetry by following its installation instructions. Make sure that the system path to Poetry is specified in your environment variables.
  2. Clone this repo.
  3. 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
  1. From Visual Studio Code, switch your default python interpreter to that of this project.
  2. Run the web server by running the following commands:
poetry run python index.py