Skip to content

A simple reporter based on django, sqlite, celery, reabbitmq to report device health

Notifications You must be signed in to change notification settings

ahsan-codejit/devicehealth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

devicehealth

A simple reporter based on django, sqlite, celery, reabbitmq to report device health

Requirements:

Python 3.6.2

Installation Instructions

  • create virtual environment using python3 (virtualenv -p python3 )
  • source /bin/activate
  • git clone [email protected]:ahsan-codejit/devicehealth.git
  • cd devicehealth
  • pip install -r devicehealth/requirement.txt
  • python manage.py makemigrations reports
  • python manage.py migrate
  • python manage.py runserver
  • browse http://127.0.0.1:8000

settings to run importcsv periodically

  • Install rabbitmq server and run
  • Install Celery
  • Run beat (celery -A ports beat --loglevel=info)
  • Run worker (celery -A reports worker -l info)

------------------ OR --------------------

manually importing reports into sqlite

  • run importcsv script

Enjoy the reports :)

About

A simple reporter based on django, sqlite, celery, reabbitmq to report device health

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published