An open-source toolkit for automating the upload of research articles into institutional repositories. Read the paper here.
- Basic understanding of UNIX commands.
- Git, Node.js LTS, and a code editor (e.g., VSCode) installed.
- An understanding of how APIs work.
- Clone this repository to your device.
- Add an folder named
outputto theaperta-accessumfolder. - Add a file named
config.env.jsto theaperta-accessumfolder. - Retrieve bepress and Dropbox API keys and add them to
config.env.jsin the following form:
module.exports = {
BEPRESS: "YOUR-BEPRESS-API-KEY",
DROPBOX: "YOUR-DROPBOX-REFRESH-KEY",
};
Note: bepress keys need to be obtained by emailing them; Dropbox keys need to be obtained by creating a Dropbox App.
- Navigate
aperta-accessum/scriptsdirectory and then runnpm i. - Deploy the website. Netlify can be used, among many hosting options. Run
npm buildin thewebsitefolder, and then upload the build folder to Netlify.
- Complete setup instructions.
- Create a CSV file of emails to send to professors and JSON file of articles that are already open access by navigating to
aperta-accessum/scriptsdirectory and runningnode createEmailList.js. - Use mail merge to send professors emails. Watch this YouTube video or a similar one.
- Monitor your Dropbox for file uploads.
- Create two XML files of data to upload to bepress by navigating to
aperta-accessum/scriptsdirectory and runningnode createXMLForAlreadyOA.jsand thennode createXMLFromDropbox.js. - Upload the XML files to bepress through bulk upload.
- Once the files are published on bepress, delete the files from Dropbox.