Skip to content

Mahdi-Ba/feed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Requirements

  • Python 3.7.10
  • postgres (optional)

Installation

  • Create virtual environment(optional)
  • Install the dependencies and devDependencies
$ pip install -r requirements.txt
  • Set DataBase Connection in feeder/settings.py
DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.mysql',
        'NAME': 'test',
        'USER': 'test',
        'PASSWORD': 'test@test',
        'HOST': '127.0.0.1',  # Or an IP Address that your DB is hosted on
        'PORT': '3306',
        'OPTIONS': {
            # Tell MySQLdb to connect with 'utf8mb4' character set
            'charset': 'utf8mb4',
        },
    }
}
  • Create Table In DataBase and mock data
$ python manage.py migrate
  • Create Super User
$ python manage.py createsuperuser
$ python manage.py runserver
  • Manual config in feeder/settings.py
CELERY_BROKER_URL = "amqp://myuser:mypassword@localhost:5672/myvhost"
  • Run celery
$ celery -A feeder worker

License

  • If You want more info like rest api request file Such as Postman Contact Us [email protected]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published