System Requirements
Operating System: Linux, macOS, or Windows Python Version: 3.8 or later Processor: x86_64 architecture recommended Memory: Minimum 2 GB RAM Storage: At least 500 MB of free space
Software Dependencies
Ensure the following software is installed:
Python (>= 3.8) pip (latest version recommended) Git (for cloning the repository) Virtual Environment (venv or virtualenv)
Installation Steps
- Clone the Repository
git clone https://github.com/PournimaTivatane12/Python-flask-services.git cd Python-flask-services
- Create a Virtual Environment
python3 -m venv venv source venv/bin/activate # On macOS/Linux venv\Scripts\activate # On Windows
- Install Dependencies
pip install -r requirements.txt
- Set Up Environment Variables
Create a .env file and configure the necessary environment variables. FLASK_ENV=development SECRET_KEY=your_secret_key DATABASE_URL=sqlite:///db.sqlite3
- Run the Flask Application
flask run
Additional Requirements
Database: Ensure PostgreSQL, MySQL, or SQLite is installed based on the chosen configuration. Docker (Optional): If running in a containerized environment, install Docker and Docker Compose.