Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

 

What You'll Need

First: 

  • brew
  • python
  • pip

Then:

...

Code Block
pip install -r requirements.txt

9. Run the importer

Use the following code, with some substitutions: 

  • XML File Name is the name of the file you downloaded in step 6. 
  • KEY and VALUE are codes you obtained in step 2. 
  • YOUR_BOX_USER is your box username, which should be your UVa email address
  • YOUR_BOX_PASS is the password you created in step 1. 

Code Block
python import.py -s MediaPro -x "XML File Name.xml" -c KEY=VALUE -i "/Image Uploads/Bhutan/Bhutan Year 5/XML File Name" -u https://images.shanti.virginia.edu/admin/content/bulk_image_import/api -v -cid 619101 -cv -cw ImageMagick --ftp --ftp_user YOUR_BOX_USER --ftp_pass YOUR_BOX_PASS

...