ssh into the metalogix server
(if necessary) mv /tmp/gradeOutputFull.csv /tmp/gradeOutputFull.(date).csv cd /edx/app/edxapp/edx-platform source ../edxapp_env python manage.py lms --settings=aws_appsembler shell
once inside of the shell, copy and paste the reporting code:
scp the file back to your computer and email to whoever requested it
scp tj_noderabbit_com@academy.metalogix.com:/tmp/gradeOutputFull.csv .
future improvements:
turn script into manage.py cmd
automate script run through cron
options for getting data to customer:
- auto email customer
- write file to /var/www/ and expose directory through nginx
- upload file to s3 and give bucket link to customer