First Impressions

82 views
Skip to first unread message

Patrick Heeney

unread,
Jan 10, 2014, 3:38:50 PM1/10/14
to 32degrees-b...@googlegroups.com
I love the concept of this and can't wait to switch from boxen. Have a few questions:

Apple App Store

Is it theoretically possible to install applications from the app store or somehow trigger the window to at least automate some aspects of it? Just trying to figure out what is theoretically possible?

Self Contained

Is battleschool self-contained like boxen. With boxen I believe homebrew is installed at /opt/boxen/homebrew/bin and frameworks are installed at /opt/boxen/{rbenv,nvm} etc so it keeps it separate from your system versions. If its not, can it be?

GIT

Does it install GIT during installation? I don't recall if mac comes bundled with that or what version if it does. 

I think thats for now until I try to install it. I don't know much python but will gladly help on the ansible front and hopefully pick up a bit of python in the process.

Spencer

unread,
Jan 10, 2014, 4:03:29 PM1/10/14
to Patrick Heeney, 32degrees-b...@googlegroups.com
On Fri, Jan 10, 2014 at 1:38 PM, Patrick Heeney <patric...@gmail.com> wrote:
I love the concept of this and can't wait to switch from boxen. Have a few questions:

Apple App Store

Is it theoretically possible to install applications from the app store or somehow trigger the window to at least automate some aspects of it? Just trying to figure out what is theoretically possible?

Not currently.  There are no api's official or backdoor that I have found.
 

Self Contained

Is battleschool self-contained like boxen. With boxen I believe homebrew is installed at /opt/boxen/homebrew/bin and frameworks are installed at /opt/boxen/{rbenv,nvm} etc so it keeps it separate from your system versions. If its not, can it be?
 
It is packaged using pip, which will install the needed dependencies as well (ansible).  homebrew is optional and battleschool can be used to install it. https://github.com/spencergibb/ansible-osx/blob/master/homebrew.yml
 
GIT

Does it install GIT during installation? I don't recall if mac comes bundled with that or what version if it does. 


$ /usr/bin/git --version                                   (3458)[13:54:36]
git version 1.8.3.4 (Apple Git-47) 

 
I think thats for now until I try to install it. I don't know much python but will gladly help on the ansible front and hopefully pick up a bit of python in the process.

--
You received this message because you are subscribed to the Google Groups "battleschool" group.
To unsubscribe from this group and stop receiving emails from it, send an email to 32degrees-battles...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Patrick Heeney

unread,
Jan 10, 2014, 4:07:23 PM1/10/14
to 32degrees-b...@googlegroups.com, Patrick Heeney
I saw that homebrew can be installed but it doesn't look self-contained. It looks like it installs it to /usr/local/bin/brew and not something like /opt/battleschool. Then any packages brew installs would also be in different parts of the system. 

Is the process to install to install git first, then pip, then battleschool and run the playbooks? The homebrew install I believe prompts to install the tools which must install git before actually downloading. https://github.com/Homebrew/homebrew/blob/go/install#L151-L158 Is it possible to do something similar with the battleschool installer?

Spencer Gibb

unread,
Jan 10, 2014, 4:18:07 PM1/10/14
to Patrick Heeney, 32degrees-b...@googlegroups.com
There really is not an installer for battleschool.  One could be written that checks for git and pip and the runs pip install.

--
Spencer Gibb
spe...@gibb.us


Message has been deleted

Steve Pereira

unread,
Feb 15, 2014, 9:05:54 PM2/15/14
to 32degrees-b...@googlegroups.com, Patrick Heeney
I'd advise rake for that purpose, it's installed with osx, has no shell quirks and can bootstrap the whole process pretty simply. I install ansible via homebrew, and then my only requirement is rake (any version)

RE: concerns about homebrew - it can be installed anywhere via something like this:
http://lolindrath.com/2011/09/13/hombrew-from-home-directory/

I'm not sure if it tries to read an install dir variable (i would hope there's an option for that)

I've looked into automating app store installs and haven't found anything useful yet

For most things though (95% of my apps) brew and cask (via a brewfile gist) is how I setup my systems currently. I'm excited to see how battleschool can fit in!
Reply all
Reply to author
Forward
0 new messages