To run the application
flask --app bookclub run --debug
The project directory will contain:
bookclub/
, a Python package containing your application code and files.tests/
, a directory containing test modules.venv/
, a Python virtual environment where Flask and other dependencies are installed.- Installation files telling Python how to install your project.
- Version control config, such as git. You should make a habit of using some type of version control for all your projects, no matter the size.
- Any other project files you might add in the future.
/project-location
├── flaskBook/
│ ├── __init__.py
│ ├── db.py
│ ├── schema.sql
│ ├── auth.py
│ ├── book.py
│ ├── templates/
│ │ ├── base.html
│ │ ├── auth/
│ │ │ ├── login.html
│ │ │ └── register.html
│ │ └── book/
│ │ ├── create.html
│ │ ├── index.html
│ │ └── update.html
│ └── static/
│ └── style.css
├── tests/
│ ├── conftest.py
│ ├── data.sql
│ ├── test_factory.py
│ ├── test_db.py
│ ├── test_auth.py
│ └── test_book.py
├── venv/
├── setup.py
└── MANIFEST.in