Skip to content

keshavmohta09/astro

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

About

Bidder - Online Auction Management System

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published