Changes

Jump to navigation Jump to search
825 bytes added ,  16:49, 30 January 2016
no edit summary
Line 1: Line 1: −
How to process the 1.4 million JSON files we've generated
+
How to process the 400k JSON files we've generated
    
== Example ==
 
== Example ==
Line 48: Line 48:     
== What to do ==
 
== What to do ==
 +
=== TODO ===
 +
* remove json with error messages
 +
* move all the JSONs to production
 +
=== Results ===
 +
==== Number of images ====
 +
46715+128832+59961+180420 = 415928(edited)
 +
<pre>
 +
teolemon@ks3095298:/home/off/html/images/products$ ls -lR /home/off/html/images/products/ | find . -name 'nutrition.*.full.jpg' -type f | wc -l
 +
46715
 +
teolemon@ks3095298:/home/off/html/images/products$ ls -lR /home/off/html/images/products/ | find . -name 'front.*.full.jpg' -type f | wc -l
 +
128382
 +
teolemon@ks3095298:/home/off/html/images/products$ ls -lR /home/off/html/images/products/ | find . -name 'ingredients.*.full.jpg' -type f | wc -l
 +
59961
 +
teolemon@ks3095298:/home/off/html/images/products$ ls -lR /home/off/html/images/products/ | find . -type f -regex ".​​*/[0-9].jpg*​​" | wc -l
 +
180420
 +
</pre>
 +
==== Number of JSONs====
 +
<pre>
 +
415308
 +
</pre>
 
=== Versions of the same product ===
 
=== Versions of the same product ===
 
* All versions of images selected have been processed
 
* All versions of images selected have been processed

Navigation menu