Skip to content

Latest commit

 

History

History
77 lines (32 loc) · 1.18 KB

prerequisite.md

File metadata and controls

77 lines (32 loc) · 1.18 KB

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

  1. Clone the Repository

git clone https://github.com/PournimaTivatane12/Python-flask-services.git cd Python-flask-services

  1. Create a Virtual Environment

python3 -m venv venv source venv/bin/activate # On macOS/Linux venv\Scripts\activate # On Windows

  1. Install Dependencies

pip install -r requirements.txt

  1. 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

  1. 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.