Sha256: 0fae0cbb2f0b044f73406b3f3696755f73c05e9259c0457eaf0860c0199b082b
Contents?: true
Size: 765 Bytes
Versions: 2
Compression:
Stored size: 765 Bytes
Contents
#!/usr/bin/env sh set -eu export RAILS_ENV=production export SECRET_KEY_BASE=secret # Create a production SQLite database and populate it with the app's data (see # db/seeds.rb for how). bundle exec rails db:setup # Generate production-optimised assets with Sprockets and friends. This must be # done before generating the Parklife build as Rails will blow up if it detects # missing assets at runtime. bundle exec rails assets:precompile # Generate the Parklife build. bundle exec parklife build # Copy everything in /public to the build directory -- this includes the newly # generated sprockets assets and things like favicon.ico and robots.txt. cp -R public/* build # List everything in the final build -- useful debug output. find build -type f | sort
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
parklife-0.4.0 | examples/rails/parklife-build |
parklife-0.3.0 | examples/rails/parklife-build |