- python (version 3.5 or 3.6)
- git
git clone https://github.com/CMSTrackerDPG/TkDQMDoctor
cd TkDQMDoctor
python3 -m venv venv
source venv/bin/active
pip install -r requirements.txt
pip install -r testing-requirements.txt
Create a .env
file with the following content:
DJANGO_DATABASE_ENGINE=django.db.backends.sqlite3
DJANGO_DEBUG=True
DJANGO_DATABASE_NAME=db.sqlite3
DJANGO_SECRET_KEY=(%g65bg+&9rbnt+h&txlxw$+lkq=g=yrp!6@v+7@&$a%9^yt-!
Note: your secret key should differ and never be made public.
Setup your local database
python manage.py migrate
python manage.py createsuperuser
Run the website
python manage.py runserver
Then the website can be visited at http://localhost:8000
Before you participate in this project, it is recommended to do the Django tutorial first. It gives you a quick overview of most of the things you need to know.
A documentation about the TkDQMDoctor can be found in the folder docs
or at readthedocs. It contains both a user manual and a more detailed development manual.
Shift instructions can be found on the Twiki pages:
Instructions for the shift leader can be found under: