Skip to content

Commit

Permalink
Merge branch 'refactor'
Browse files Browse the repository at this point in the history
  • Loading branch information
Turbotailz committed Oct 16, 2021
2 parents 4f3afc7 + d68e293 commit c495f31
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 0 additions & 6 deletions database/seeds/01_images.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
/* HOW TO BULK LOAD IMAGES
* Simply place images in the "images" folder to seed them
* The order images are uploaded cannot be guaranteed because of how Promise.all() works
* For best results, make sure your images have the metadata "DateTimeOriginal"
*/

const fs = require('fs');
const { putImage } = require('../../server/actions');
const filePath = __dirname + '/images/';
Expand Down
3 changes: 3 additions & 0 deletions database/seeds/images/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# How to bulk load images
Simply place images in the `database/seeds/images` folder to seed them. The order images are uploaded cannot be guaranteed because of how [`Promise.all()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/all) works.
For best results, make sure your images have the EXIF metadata `DateTimeOriginal`.

0 comments on commit c495f31

Please sign in to comment.