Building from Clean Checkout ============================ 1. cd into 'mediagrab-app' (the dir that contains this file) 2. run 'composer install' 3. run './clearCacheDumpAssets.sh' which executes: app/console cache:clear app/console assets:install app/console assetic:dump The app is now ready to package for deployment. Packaging the app into a nice tar.gz archive ============================================ 1. execute the build/{prod|test}-deploy.sh (no need to 'cd' into the directory, script can be executed from anywhere) what this script does is: - deletes the cache directory - sets the proper configuration file depending on the target environment- prod/test - archives the directory into a tar.gz archive The archive now contains the fully runnable application targeted at that environment - you can basically overwrite the app directory on the server with this one. Creating Admin Users ==================== 1. register user on the site 2. promote user (app/console fos:user:promote) to ROLE_SUPER_ADMIN S3 Bucket Configuration ======================= CORS configuration ------------------- * GET POST PUT *