34 | | Install just like you would any other Trac plugin. Drop the egg into... |
| 34 | Install just like you would any other Trac plugin. Drop the egg into your plugins or site-packages folder and then try to access Trac in your browser. You will get an error message saying that the database needs to be upgraded and telling you the trac-admin command to do it. (I think it's something like 'trac-admin !YourProjectName.db upgrade'). Perform the upgrade. |
| 35 | |
| 36 | === Pycron/cron job === |
| 37 | Download the this file: attachment:burndown_job.py and place it into a directory where you can run it with python. For example, C:\Python23\Scripts\ |
| 38 | |
| 39 | Set up a job to run the burndown_job.py script once a day. I personally am using Windows, so I used pycron. Here is an example pycron tab file to run the job at noon on weekdays: attachment:crontab.txt |
| 40 | |
| 41 | This job totals up all the remaining time for given milestones and components and saves the information into the trac burndown table so that the plugin can use it to draw charts. |
| 42 | |
| 43 | == Using the plugin == |
| 44 | |
| 45 | More coming here soon... |