mirror of
https://github.com/thumbsup/thumbsup
synced 2024-11-13 01:10:49 +00:00
20 lines
371 B
JavaScript
20 lines
371 B
JavaScript
var thumbsup = require('../src/index');
|
|
|
|
|
|
thumbsup.build({
|
|
|
|
// the input folder
|
|
// with all photos/videos
|
|
input: 'example/media',
|
|
|
|
// the output folder
|
|
// for the thumbnails and static pages
|
|
output: 'example/website',
|
|
|
|
// relative path to the media
|
|
// a local path for testing
|
|
// but this could be the URL to an S3 bucket
|
|
mediaPrefix: '../media'
|
|
|
|
});
|