A simple reporter based on django, sqlite, celery, reabbitmq to report device health
Python 3.6.2
- 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
- Install rabbitmq server and run
- Install Celery
- Run beat (celery -A ports beat --loglevel=info)
- Run worker (celery -A reports worker -l info)
------------------ OR --------------------
- run importcsv script