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

Gemified apps production wrapper #1495

Closed
dariocravero opened this issue Nov 20, 2013 · 3 comments
Closed

Gemified apps production wrapper #1495

dariocravero opened this issue Nov 20, 2013 · 3 comments
Labels
Milestone

Comments

@dariocravero
Copy link

Brain dump. /cc @skade

Gemified apps are an amazing asset.

They would be even better if we could provide a basic wrapper that would allow us to use them directly in production environments.

A basic structure would consist of a config.ru, confib/boot.rb, config/apps.rb, Gemfile and a Rakefile. The first three could even be combined in one.

@Ortuna
Copy link
Member

Ortuna commented Dec 17, 2013

Doesn't the generator generate an app with --gem ?

@skade
Copy link
Contributor

skade commented Dec 18, 2013

@Ortuna What Dario refers to is the following:

An old-school padrino project is two things, a wrapper and the app files. The wrapper is config.ru, boot.rb etc., the app is in app, models etc.

Currently, we only have a profile for the main app hosted along with the wrapper and a profile for a gem without the wrapper. What is missing is a way to generate a wrapper without the app skeleton, e.g. to exclusively host gemified apps.

@ujifgc ujifgc added the feature label Mar 2, 2014
@ujifgc ujifgc closed this as completed in 841e8a1 Mar 6, 2014
@ujifgc
Copy link
Member

ujifgc commented Mar 6, 2014

Implemented.

Run it with padrino g project test --lean

Lean project does not generate initial application in app folder, it is intended to host gemified apps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants