Skip to content

keshavmohta09/astro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

21b5a03 · May 29, 2023

History

19 Commits
May 26, 2023
May 23, 2023
Apr 24, 2023
Apr 23, 2023
May 23, 2023
May 12, 2023
May 27, 2023
May 12, 2023
May 9, 2023
May 29, 2023
May 23, 2023
May 26, 2023
May 23, 2023
Apr 23, 2023
Apr 23, 2023

Repository files navigation

astro

Bidder - Online Auction Management System

Create a virtual environment in python>3.8

python -m venv env

Run the command

pip install -r requirements.txt

Install wsl and redis

Create a .env file and fill these values:

  • SECRET_KEY=anyValue
  • DEBUG=True

Databse credentials

  • DATABASE_ENGINE=django.db.backends.postgresql

  • DATABASE_NAME=astro

  • DATABASE_USER=your value

  • DATABASE_PASSWORD=your value

  • DATABASE_HOST=your value

  • DATABASE_PORT=5432

  • CELERY_BROKER_URL=redis://127.0.0.1:6379

  • CACHE_BROKER_URL=redis://127.0.0.1:6379/1

creds for sending email service

  • EMAIL_HOST=
  • EMAIL_HOST_USER=
  • EMAIL_HOST_PASSWORD=
  • EMAIL_PORT=

To run celery use these two commands in different terminal tabs

Celery worker

  • celery -A astro worker -l info -P solo

Celery beat

  • celery -A astro beat -l info