A command line interface (CLI) for uploading articles from Google Drive Volume folders to our Rails API.
You must have an admin account (security level > 0) in the database to be able to use the uploader. Put the credentials to the account in a dotenv file like so:
EMAIL=YOUR_EMAIL
PASSWORD=YOUR_PASSWORD
# Compile program and create binary
$ go install
# Run bulk upload for Volume 108 Issue 11
$ uploader -m 108 -i 11
For specific instructions on how to clean Issue folders for uploading (a must for every issue), please visit the UPLOADING.md file.
- --window, -w: open core files when bulk uploading (e.g. Photo/Art folders, Newspaper PDF)
- --local PORT, -l PORT: use a locally hosted GraphQL server
For information on the things which are currently being focused on, please visit the ROADMAP.md file.
For troubleshooting instructions, please visit the TROUBLESHOOTING.md file.