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

Use Rails Engines on Stratos #1

Closed
fernandes opened this issue Mar 12, 2015 · 1 comment
Closed

Use Rails Engines on Stratos #1

fernandes opened this issue Mar 12, 2015 · 1 comment

Comments

@fernandes
Copy link
Member

Hello @softlayer/owners , // cc @cphrmky @SLsthompson

Here at Zertico we have been using Rails Engines to add features to our projects, a example can be found at: github.com/railsblocks/railsblocks-web

On my first proposal of this web system I suggested the use of rails engines as components, in a internal project here at Zertico we made a engine to create SoftLayer Servers, with a cool front end (Ember Based) consuming the Rails API, and we are going to open this component's source code so we can use at Stratos.

After all this contextualization the question is, whats the best way?

1. Stratos Wrapper

Stratos be just a Wrapper app that include other Gems, so we can add features on different components:

  • railsblocks-auth for authentication
  • stratos-server for server creation (example name)

ps: Here we need to create different repos for features, like softlayer-ember-*
ps2: This is my preferred way so we can improve the development of the components and reuse across different projects. Interested users can just add the gem stratos-server and use the features on a Rails Application, cool no?

2. Copy / Paste all the code.

We can just copy and paste all the code at Stratos (other users need to do the same to reuse the example)

So, gimme your thoughts so we can publish the first Stratos feature :)

@fernandes
Copy link
Member Author

I'm gonna work in a simple as possible rails application to deliver a virtual machine management.

The idea is to login and persist information on session, connect into SoftLayer API and show virtual machines so users can send some actions. I keep you posted.

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

No branches or pull requests

1 participant