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

Comments

Projects
None yet
4 participants
@dariocravero
Contributor

dariocravero commented Nov 20, 2013

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

This comment has been minimized.

Show comment
Hide comment
@Ortuna

Ortuna Dec 17, 2013

Member

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

Member

Ortuna commented Dec 17, 2013

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

@skade

This comment has been minimized.

Show comment
Hide comment
@skade

skade Dec 18, 2013

Member

@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.

Member

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 in 841e8a1 Mar 6, 2014

@ujifgc

This comment has been minimized.

Show comment
Hide comment
@ujifgc

ujifgc Mar 6, 2014

Member

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.

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