Otto with Node (Ghost)

101 vues
Accéder directement au premier message non lu

Hannah Wolfe

non lue,
5 déc. 2015, 13:01:3305/12/2015
à Otto
Hi there,

I've heard about Otto through various talks and podcasts recently, there seems to be quite a buzz.
I know it's early days, but I'm interested because it seems that Otto would be an great way to help both contributors and users get Ghost running quicker. We've been considering the concept of supporting a 'one true install' mechanism for a while and it might just be that this will make that super easy.

I've just tried it out, and run into an issue as well as found a few questions. I've numbered them to make them easier to respond to :)

1. I ran 'otto compile' and 'otto dev' from inside the Ghost repository. Ghost is a Node.js application, which otto has detected. However, the development environment setup by otto has Node v4.1.0 installed - a version of Node that Ghost does not support, as defined by the engine config in the package.json file. In our case this means `npm install` doesn't work and I can't use the dev environment provided :( It seems to me if you want to make otto great at auto-detecting environment settings, then the engine setting in package.json needs to be taken into account for determining which version of Node to use for a project.

2. One thing I haven't managed to figure out from the docs: is there, or will there be a way to define development only dependencies? E.g. Ghost needs phantom.js for running tests, but running the app doesn't require that, so we'd want it for the dev environment and not the deployment environment.

3. From my initial reading, I thought that otto only required an Appfile, but now using it I find there is a dotfile .ottoid and a dotfolder .otto, however I haven't created my own Appfile yet. What is actually required? I ask because I'm kinda protective over adding endless bits and bobs to the root folder of the repo - just makes the repo look daunting IMO. I'd love to see things like otto, travis, bower, and everyone else using a `.dotfiles` folder or something similar to keep it all together and tidy - you guys have the power to make this a standard ;)

4. Again from my reading I wasn't quite able to be sure - for projects like Ghost where there are many many people installing / deploying it, does the encrypted credentials cache file mean that it'll work just fine if we have a default infrastructure in the Appfile, each user would be able to specify their own credentials when deploying? 

5. I see that support for DO has an open PR that's being held back, which I fully understand. Also, I know, only too well that 'when will it be ready' questions are literally the worst and most frustrating things ever. However, otto has me excited, and we definitely would want to set DO as the default infrastructure so I'm keen to find out if we're looking at 3 months, 6 months or more like a year? 

Sorry for so many questions. If there's some way that Ghost can be a beta testing project, I'd be all for that :)

Thanks,
Hannah


Hannah Wolfe

non lue,
11 janv. 2016, 04:41:3311/01/2016
à Otto
Hi,

I'd love to get a conversation started here, perhaps I should post the bug direct to GitHub? Is there a better place to ask the other questions?

Thanks,
Hannah

Jamie White

non lue,
11 janv. 2016, 05:44:3111/01/2016
à otto...@googlegroups.com
Hi

Like Hannah, I’m interested in how best to help out when it comes to Node app types and the other questions posed. Are there any folks working on this aspect of Otto that we should talk to?

Thanks! :)

Jamie

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/hashicorp/otto/issues
IRC: #otto-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Otto" group.
To unsubscribe from this group and stop receiving emails from it, send an email to otto-tool+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/otto-tool/76688b43-8ca8-486b-b657-eb31e3381177%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Michael Leow

non lue,
12 janv. 2016, 08:03:2312/01/2016
à Otto
Checkout the existing builtin for Node as the foundation for your custom Node type


Here is the example plugin to build ront: https://github.com/hashicorp/otto-example-app-plugin

I am working through building some custom PHP types (Drupal) by porting from the current builtin PHP type.  So feel free to ask here.

Mitchell Hashimoto

non lue,
12 janv. 2016, 14:47:4412/01/2016
à otto...@googlegroups.com
Hi!

I'd love to get any feedback on how we can make Node better. And supporting Ghost more deeply I'm definitely interested in. Let's use the GitHub issue tracker for this discussion.

Best,
Mitchell

Michael Leow

non lue,
12 janv. 2016, 23:39:3712/01/2016
à Otto
Folks; continue discussion here --> https://github.com/hashicorp/otto/issues/407
Répondre à tous
Répondre à l'auteur
Transférer
0 nouveau message