Skip to content

Pull Clever Student Participation data from FTP and download Clever student emails from web.

Notifications You must be signed in to change notification settings

kippnorcal/clever_logs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clever_logs

Download Clever Student Participation, Resource Usage, and emails reports from Clever FTP.

Dependencies:

Getting Started

Setup Environment

  1. Clone this repo
$ git clone https://github.com/kippnorcal/clever_logs.git
  1. Install Docker
  1. Create .env file with project secrets
# Database variables
DB_TYPE=
DB_SERVER=
DB=
DB_SCHEMA=
DB_USER=
DB_PWD=

# Clever variables
CLEVER_USER=
CLEVER_PW=

# Clever FTP connection
FTP_HOST=
FTP_USER=
FTP_PW=
FTP_PORT=

# Mailer config
SENDER_EMAIL=
SENDER_PWD=
EMAIL_SERVER=
EMAIL_PORT=
RECIPIENT_EMAIL=
  1. Create table in database using definition file in sql folder

Build the Docker image

docker build -t clever .

Running the Job

docker run --rm -it clever

Run with volume mapping

docker run --rm -it -v ${PWD}/:/code/ clever

Maintenance

  • No annual rollover is required
  • This script can be paused during summer break and restarted when school starts.

About

Pull Clever Student Participation data from FTP and download Clever student emails from web.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published