Skip to content

Latest commit

 

History

History
61 lines (38 loc) · 1.18 KB

README.md

File metadata and controls

61 lines (38 loc) · 1.18 KB

Running Flask App with Virtual Environment (venv)

This README.md file provides instructions on how to run a Flask app with a virtual environment named venv.

Requirements

Ensure you have the following installed on your system:

  • Python - Python programming language
  • pip - Python package installer

Installation

  1. Clone the repository to your local machine:

    git clone https://github.com/Nyx1on/Snapify-backend-2.git
  2. Navigate to the project directory:

    cd <project-directory>
  3. Create a virtual environment named venv:

    python -m venv venv
  4. Activate the virtual environment:

    • On Windows:

      venv\Scripts\activate
    • On macOS and Linux:

      source venv/bin/activate
  5. Install dependencies:

    pip install -r requirements.txt

Configuration

No additional configuration is required. However, you may adjust settings in your Flask app according to your needs.

Usage

To start the Flask app, run the following command:

python app.py