#!/usr/bin/env bash # we need postgresql for asset precompilation # see: https://packager.io/documentation sudo service postgresql start cp -f packaging/conf/configuration.yml config/configuration.yml sed -i "s|config.serve_static_assets = false|config.serve_static_assets = true|" config/environments/production.rb cp -f packaging/conf/000-establish-connection.rb config/initializers/