Find file History
Pull request Compare This branch is 2174 commits ahead of sefk:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
.gitignore
README.md
users_by_class.plot
users_by_class.sh
users_by_class.sql
users_by_day.plot
users_by_day.sh
users_by_day.sql

README.md

  1. On a prod machine: echo "select date(date_joined), count(*) from auth_user group by 1;" | ~/class2go/main/manage.py dbshell

  2. Copy/paste into the file on your machine ./users_by_day.dat

  3. Run this command: cat plot_users.conf | gnuplot

  4. Total? cat users_by_day.dat | awk '{x += $2} END {print x}'

The chart will be in class2go_users.png