Skip to content

Latest commit

 

History

History
45 lines (29 loc) · 1.25 KB

README.md

File metadata and controls

45 lines (29 loc) · 1.25 KB

Clone repo without history

In the past we have stored all of the extracted meca files in the data folder. This makes a git clone with full history rather large. If you just want to bring down the current files:

git clone --depth 1 [email protected]:elifesciences/enhanced-preprints-data.git

Add a PDF

Save the PDF to the appropriate place in the data folder.

To sync the changes from the data repo to the s3 bucket replay the steps:

Create a feature branch, review and merge

Create a feature branch, commit your changes and push the branch.

Create a pull request at https://github.com/elifesciences/enhanced-preprints-data, review your changes and merge in, if happy.

Checkout master

Once your PR has been merged then switch to the master branch and pull in these changes.

Sync data folder to staging

./scripts/sync_data.sh staging

Sync data folder to prod

./scripts/sync_data.sh

Restore data folder from preserved pdf's

./scripts/introduce_pdfs.sh