Skip to content

pyth0nd3v/ads-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Start-Project

Commands:

  1. -> git clone https://github.com/pyth0nd3v/ads-system.git
  2. open the project and create "Virtual Environment": -> python3 -m venv ads-env
  3. start the virtual environment: -> source ads-env/bin/activate
  4. -> pip3 install -r requirements.txt
  5. -> python3 manage.py runserver
  6. -> python3 manage.py makemigrations
  7. -> python3 manage.py migrate
  8. -> python3 manage.py createsuperuser

Open new terminal (Terminal Number 2) and Now RUN the Redis server

  1. -> redis-server --port 6379

Open new terminal (Terminal Number 3) and Now RUN the CELERY

  1. -> python -m celery -A core worker

In this moment your project running total 3 terminals (Django Project + Redis server + Celery )

- I used Celery distributed task queue, which help this program to work smoothly in the background without stucking on one task.

- POSTMAN File is also attached in this project FILE_NAME: "Ads-Postman_collection.json"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages