Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scrolls for shellycloud support #14

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions scrolls/compile_assets.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
gsub_file 'config/environments/production.rb',
'config.assets.compile = false', 'config.assets.compile = true'

__END__

name: Compile assets
description: "Configure Rails to compile assets in production. Use to skip the lengthy precompile process, and let the app compile assets when they're first requested. Useful for deployments where those assets are cached."
author: grk

category: assets

run_before: [git]
12 changes: 12 additions & 0 deletions scrolls/serve_static_assets.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
gsub_file 'config/environments/production.rb',
'config.serve_static_assets = false', 'config.serve_static_assets = true'

__END__

name: Serve static assets
description: Configure Rails to serve static assets in production. Useful for deployments that require the application to serve assets, such as Heroku and Shelly Cloud
author: grk

category: assets

run_before: [git]
File renamed without changes.