Welcome to Growcery, your go-to app for managing grocery lists and more!
-
Clone the repository:
git clone https://github.com/YdoUcare-qm/Growcery.git cd Growcery
-
Create a virtual environment (optional but recommended):
python -m venv venv
-
Activate the virtual environment:
- On Windows:
.\venv\Scripts\activate
- On Unix or MacOS:
source venv/bin/activate
- On Windows:
-
Install dependencies:
pip install -r requirements.txt
Run the following command to start the server:
python main.py
-
Open a terminal and navigate to your project root directory.
-
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.
-
Open another terminal window/tab and navigate to your project root directory.
-
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.
MailHog is a helpful tool for testing email functionality during development.
-
Install MailHog Visit MailHog Github Repository to set up MailHog
-
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.