Skip to content

Simple2B/flask.app

Repository files navigation

Simple Flask App

  1. Run
poetry install
  1. Create '.env' file (simply copy file .env.sample):

  2. Run

docker compose up d db

to create an docker container

  1. Development and debugging

    This project contains both Flask and FastAPI.

    To run Flask app:

    • go to "Run and Debug" tab in VSCode and select "Python:Flask" from dropdown menu

    To run FastAPI app:

    • go to "Run and Debug" tab in VSCode and select "API" from dropdown menu

    After selection, press "Run and Debug" button or F5 key on keyboard

  2. Create db with command

flask db upgrade
  1. In main folder need install node_modules to work with tailwind, run
yarn