diff --git a/conf/docker/entrypoint_stage.sh b/conf/docker/entrypoint_stage.sh index 2f6ef43..89eb5b1 100755 --- a/conf/docker/entrypoint_stage.sh +++ b/conf/docker/entrypoint_stage.sh @@ -7,7 +7,7 @@ export ENV=stage cd /opt/app -bower i +bower install --allow-root # Collect static files echo "Collect static files" diff --git a/src/dokumentor/static/js/profile/asset.js b/src/dokumentor/static/js/profile/asset.js index 730006f..6e69608 100644 --- a/src/dokumentor/static/js/profile/asset.js +++ b/src/dokumentor/static/js/profile/asset.js @@ -1,3 +1,24 @@ /** * Created by mitri4 on 23.06.17. */ + +$(document).ready(function() { + + $uploadCrop = $('#stamp').croppie({ + enableExif: true, + viewport: { + width: 200, + height: 200, + type: 'circle' + }, + boundary: { + width: 300, + height: 300 + } + }); + + + +}); + +