Initial commit: Tablet lending system with user-tablet many-to-many relationship
- Database schema: tablets, users, loans (junction table) - CLI app: minimal_app.py - Web apps: app.py (Flask), simple_app.py (http.server) - Features: loan management, search, user loans view, project notes - Git structure: CONTRIBUTING.md, .gitignore Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
commit
8a8d2f02fa
25 changed files with 2885 additions and 0 deletions
20
check_flask.py
Normal file
20
check_flask.py
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
#!/usr/bin/env python3
|
||||
"""
|
||||
Check if Flask is available and provide installation instructions
|
||||
"""
|
||||
|
||||
try:
|
||||
import flask
|
||||
print("✓ Flask is available!")
|
||||
print("You can run the web version:")
|
||||
print(" python3 simple_app.py")
|
||||
print("Then open: http://localhost:8000")
|
||||
except ImportError:
|
||||
print("✗ Flask is not installed")
|
||||
print("\nTo install Flask:")
|
||||
print(" pip install flask")
|
||||
print("\nOr use the system package manager:")
|
||||
print(" sudo apt install python3-flask")
|
||||
print("\nYou can still use the command-line version:")
|
||||
print(" python3 minimal_app.py")
|
||||
print(" python3 test_app.py")
|
||||
Loading…
Add table
Add a link
Reference in a new issue