Flask Login System - Quick Help
Why GitHub Alone Won't Work
GitHub can only host static websites (HTML, CSS, JS). This Flask application needs:
- A server to run Python code
- A database to store user information
- A way to handle dynamic requests
Two Ways to Run This Application
1. Local Machine (Easiest)
- Install Python
- Open terminal in project folder
- Run these commands:
# Create virtual environment
python -m venv venv
# Activate it (Windows)
venv\Scripts\activate
# Install requirements
pip install -r requirements.txt
# Run the app
python app.py
- Open browser and go to:
http://localhost:5000
2. Online Deployment (For Website)
You need a hosting service that supports Python. Free options:
- PythonAnywhere (Easiest)
- Free tier available
- Simple setup
- Good for learning
- Render
- Free tier available
- Connects with GitHub
- Automatic deployments
Important Note
For testing and learning, use the local machine method. It's free and works perfectly for development.
For more detailed information, check out the README.md file