Skip to content

rgejman/WCMC-Angel-Doc-Syncer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 

Repository files navigation

This script will synchronize all the WCMC Angel course files to your computer without replacing any you already have (so you can freely annotate) Of course, no warranty or guarantees. If it wipes out your computer, you're on your own :).

In order to use it you must:

1. Have a mac
2. Be able to edit a text file
3. Be able to open the terminal (Applications/Utilities/Terminal) and type a few commands

Steps to install/use.

1. Open the Mac App store and install "XCode" -- it's free and made by Apple.
2. Launch Xcode (found in your Applications folder).
3. Open the Xcode Preferences and click on the "Downloads" tab.
4. Download/Install the "Command Line Tools"
5. Go back to the GitHub WCMC-Angel-Doc-Syncer page and download the Zip file
6. Open the terminal and install the "Mechanize" library like so:

     sudo gem install mechanize

type your password when requested.

7. Edit lines 7-10 to include your CWID, password and the location where you want the files stored like so:

     USERNAME = "rog2021"
     PASSWORD = "thisisasupersecurepassword"
     COURSES = ["Human Structure and Function", "Medicine, Patients and Society I"]
     FILE_DIRS = ["~/Dropbox/M1/HSF","~/Dropbox/M1/MPS1"]

8. to run the program, simply navigate to the folder where the script is stored  and type: 

     ruby sync_with_angel.rb

9. ta da!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages