Closed libreliodev closed 9 years ago
@libreliodev Are these files are zip files? Should we do the rest of procedure one at a time for each file?
@serverfire
Are these files are zip files?
Yes, the original files don't have .zip
extension, but are zip files
Should we do the rest of procedure one at a time for each file?
The best option would be to group together all files with the same name (but different extension), and apply the complete script to this set of files.
@libreliodev
The best option would be to group together all files with the same name (but different extension), and apply the complete script to this set of files.
To clarify the process.
Then each group has a single [file_name]_toc_.xml
and output is in a single directory named [file_name]
.
@serverfire This Is correct
@libreliodev It's almost done. I've to test it. Can you help me creating a test process? What we need.
Thank you
@serverfire
You can use the current customer, and the credentials you already have. There are example files in the AUT_ folder.
@libreliodev Which Bucket and KeyPrefix([publisher]/[app])?
@serverfire See private answer
@libreliodev Done.
Things to do before testing.
composer update
grunt build:production
And set settings in librelio page.
Move uploaded zip files was not specified to where. So for now it's AUT_END_
.
run script with http://[wpsite]/process_s3upload.php
@serverfire Have you updated the customer's site, or should we do it?
@libreliodev I've Installed it.
@libreliodev Unfortunately i stuck with a syntax error. I can fix it with ftp access to site.
@serverfire FTP credentials sent to you via private message. Please let us know when we can test.We tried running http://[wpsite]/process_s3upload.php
but nothing seems to have happened
@libreliodev All ready for testing.
@serverfire Successfully tested
@serverfire
It was specified that
This script should be either triggered by an http request, or by wordpress-cron at the same time as lift-search updates
This does not seem to have been implemented. Can you please correct?
@libreliodev I'll setup wordpress-cron after other issues has solved.
This script should be either triggered by an http request, or by wordpress-cron at the same time as lift-search updates
As a first step, the script should scan the AUT_ folder on the S3 folder, and uncompress all files