Skip to content

Improve rails generators #90

Description

@paranoicsan

Add/update generators to perform the following tasks:

  • Generate .env files from a template
  • Do not add https://rails-assets.org source from the very beginning as bundle is trying to fetch them initially. Need to add a note to add those sources by hand
  • Add the following to application.rb for webpacker support:
config.middleware.use(
  Rack::Static,
  urls: ['/lcms_engine_packs'], root: File.join(Gem.loaded_specs['lcms-engine'].full_gem_path, 'public')
)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions