Skip to content

YdoUcare-qm/Growcery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Growcery App

Welcome to Growcery, your go-to app for managing grocery lists and more!

Setup

Python Environment

  1. Clone the repository:

    git clone https://github.com/YdoUcare-qm/Growcery.git
    cd Growcery
  2. Create a virtual environment (optional but recommended):

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

    • On Windows:
      .\venv\Scripts\activate
    • On Unix or MacOS:
      source venv/bin/activate
  4. Install dependencies:

    pip install -r requirements.txt

Start the Server

Run the following command to start the server:

python main.py

Celery Configuration for Growcery App

Running Celery Worker

  1. Open a terminal and navigate to your project root directory.

  2. Run the following command to start Celery Worker:

    celery -A main:celery_app worker --loglevel=info

    This command initializes the Celery worker, allowing it to process tasks in the background.

Running Celery Beat (Periodic Tasks)

  1. Open another terminal window/tab and navigate to your project root directory.

  2. Run the following command to start Celery Beat:

    celery -A main:celery_app beat --loglevel=info

    This command starts Celery Beat, which is responsible for scheduling and triggering periodic tasks.

Setting Up MailHog for Growcery App

MailHog is a helpful tool for testing email functionality during development.

Installation

  1. Install MailHog Visit MailHog Github Repository to set up MailHog

  2. Access MailHog Web Interface:

    Visit http://localhost:8025 in your browser to access the MailHog web interface. This interface allows you to view emails sent by your application.

About

A web application for buying grocery items

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published