bigspring / lunchbox

A composer config that downloads WordPress and some essential plugins in a few seconds
MIT License
16 stars 5 forks source link

One line installation (via CLI) #8

Closed martindines closed 11 years ago

martindines commented 11 years ago

A simple way to install lunchbox.

Relying on the user to copy and paste is prone to error. This method requires the user to execute a one-line command which creates a copy of lunchbox in /Users/user/local/bin/. One file, no modifications, no fuss.

Note: Installation path inside lunchbox-installer and README.md will need to be updated if merged in to bigspring/lunchbox

juliotaylor commented 11 years ago

thanks for the contribution @martindines

juliotaylor commented 11 years ago

just noticed that, fixing it now


Julio Taylor BigSpring Web Development Direct line: +44 (0) 115 906 1321 Mobile: +44 (0) 7709 123 646 Skype: julio.bigspring Add me on Google+: http://gplus.to/juliotaylor Add BigSpring on Google+ https://plus.google.com/111936672613357025158

http://www.bigspring.co.uk http://www.twitter.com/bigspringweb http://www.facebook.com/bigspringweb http://uk.linkedin.com/in/juliotaylor

BigSpring is a trading division of Big Spring (UK) Ltd Registered in England & Wales No. 06741331, 29 St Austins Drive, Nottingham, NG4 3EY

On 12 August 2013 17:20, Martin notifications@github.com wrote:

No probs. FYI README.md needs a tweak

— Reply to this email directly or view it on GitHubhttps://github.com/bigspring/lunchbox/pull/8#issuecomment-22505361 .

juliotaylor commented 11 years ago

actually – just tried to run this but I get -bash: lunchbox: command not found after running the command. any ideas?

juliotaylor commented 11 years ago

@martindines ok worked it out – only works if you run source ~/bin/lunchbox instead of just lunchbox. is this normal or should we update the readme?

sorry don't have much experience with bash scripts of this type.

i opened an issue here if you're interested

martindines commented 11 years ago

I'll take a look. Sounds like the include path isn't being added (L10 of lunchbox-installer)

juliotaylor commented 11 years ago

alright cool, thanks. script will be much better with this working!