Skip to content

Aditya-138-12/bytebusters

This branch is 15 commits ahead of AkhilBashetty/bytebusters:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

2a30165 · Jan 30, 2025

History

17 Commits
Jul 7, 2024
Jan 30, 2025
Jul 7, 2024
Jul 7, 2024
Jul 7, 2024
Jul 7, 2024
Jul 7, 2024
Jul 7, 2024
Jul 7, 2024
Jul 7, 2024
Jul 7, 2024
Jul 7, 2024
Jul 7, 2024
Jul 7, 2024
Jul 7, 2024
Jul 8, 2024
Jul 7, 2024

Repository files navigation

ByteBusters Web App

Use Here: ByteBusters

Save all the images in a folder Named "images".

Ensure that all images used in the project are stored in a directory named images.

Setting Up the Server on PythonAnywhere

  1. Set Up a PythonAnywhere Account:

  2. Upload Your Code:

    • Go to the "Files" tab and upload your project files, including the images folder and your Python scripts.
  3. Set Up a Virtual Environment:

    • Open a Bash console on PythonAnywhere.
    • Navigate to your project directory.
    • Create and activate a virtual environment:
      python3.7 -m venv venv
      source venv/bin/activate
  4. Install Dependencies:

    • Install the necessary dependencies including groq-python-sdk:
      pip install -r requirements.txt
      pip install groq-python-sdk
  5. Configure Your Web App:

    • Go to the "Web" tab and add a new web app.
    • Choose Manual configuration and select Flask for the framework.
    • Set the WSGI configuration file to point to your Flask app's entry point.

    Example WSGI Configuration:

    import sys
    import os
    
    # Add your project directory to the sys.path
    project_home = '/home/yourusername/bytebusters'
    if project_home not in sys.path:
        sys.path = [project_home] + sys.path
    
    # Activate your virtual environment
    activate_this = os.path.expanduser('/home/yourusername/bytebusters/venv/bin/activate_this.py')
    with open(activate_this) as file_:
        exec(file_.read(), dict(__file__=activate_this))
    
    # Import your Flask app
    from app import app as application  # Change 'app' to your Flask app name

About

ML Based Bargain Bot For E-commerce Websites.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 44.8%
  • HTML 26.1%
  • CSS 21.5%
  • Python 7.6%