jyr / MNPP

Mac + Nginx + Percona + PHP a high performance web server in a one-click installer
http://getmnpp.org
314 stars 49 forks source link

Does someone really use Python in MNPP? #59

Closed mrded closed 11 years ago

mrded commented 11 years ago

Maybe we should delete Python support and focus on PHP?

jyr commented 11 years ago

maybe, What is of the reason?

mrded commented 11 years ago

I'd like to make MNPP simple and delete all unused things.

jyr commented 11 years ago

Ok, can you help me with update php and nginx version? and I would work in python flow

mrded commented 11 years ago

Cool! I can try to update them. Can we also delete htdocs/* and leave just htdocs/index.php with "it works!" :)

jyr commented 11 years ago

I forgot mention percona also can you update it?, yeah we can delete htdocs/* are examples only of app for python apps, cms or another. Maybe we can write new posts about it.

Remember "with great power comes great responsibility"

mrded commented 11 years ago

Got it. I've created clean branch.

Every time when MNPP starts - it changes files' permissions. It's is a pain in the ass if you want to commit some changes. So, I've changed permissions to 777.

Also, I've deleted .log, .pid and compiled files from rep.

Can you check my changes?

jyr commented 11 years ago

Sure, btw I created a google groups in https://groups.google.com/forum/?fromgroups#!forum/mnpp-devel now only I can to check in Mac OS X 10.7.3

jyr commented 11 years ago

I'm check your changes in OS X 10.7.5 not works for me when "start services" from GUI, return next errors:

3/10/13 4:07:05.553 PM [0x0-0x47047].com.yourcompany.MNPP: /Applications/MNPP/init/uwsgi.sh: line 4: export: DYLD_LIBRARY_PATH 3/10/13 4:07:05.553 PM [0x0-0x47047].com.yourcompany.MNPP: ': not a valid identifier 3/10/13 4:07:05.609 PM [0x0-0x47047].com.yourcompany.MNPP: /Applications/MNPP/init/start.sh: line 2: 3/10/13 4:07:05.609 PM [0x0-0x47047].com.yourcompany.MNPP: : command not found 3/10/13 4:07:05.610 PM [0x0-0x47047].com.yourcompany.MNPP: /Applications/MNPP/init/start.sh: line 3: syntax error near unexpected token{ 3/10/13 4:07:05.610 PM [0x0-0x47047].com.yourcompany.MNPP: ' 3/10/13 4:07:05.610 PM [0x0-0x47047].com.yourcompany.MNPP: /Applications/MNPP/init/start.sh: line 3: __init( ) { 3/10/13 4:07:05.610 PM [0x0-0x47047].com.yourcompany.MNPP: ' 3/10/13 4:07:05.652 PM [0x0-0x47047].com.yourcompany.MNPP: /Applications/MNPP/init/uwsgi.sh: line 6: 3/10/13 4:07:05.652 PM [0x0-0x47047].com.yourcompany.MNPP: : command not found 3/10/13 4:07:05.653 PM [0x0-0x47047].com.yourcompany.MNPP: /Applications/MNPP/init/uwsgi.sh: line 7: syntax error near unexpected tokenin 3/10/13 4:07:05.653 PM [0x0-0x47047].com.yourcompany.MNPP: ' 3/10/13 4:07:05.653 PM [0x0-0x47047].com.yourcompany.MNPP: /Applications/MNPP/init/uwsgi.sh: line 7: `case "$1" in 3/10/13 4:07:05.653 PM [0x0-0x47047].com.yourcompany.MNPP: '

and return error from terminal:

$ sh uwsgi.sh ': not a valid identifier DYLD_LIBRARY_PATH : command not found 'wsgi.sh: line 7: syntax error near unexpected tokenin 'wsgi.sh: line 7: `case "$1" in

what version OS X do you have?

jyr commented 11 years ago

I have fixed it with https://github.com/jyr/MNPP/commit/c1cbb632507d3cccaa2a112edac8ac69c6c7ca95 but, I think so we have a problem of editors about characters with whitespaces. I use vim and you? works MNPP with these changes.

mrded commented 11 years ago

I use vim too. It was old problem. I'm trying to fix whitespaces when I notice them.

OS X 10.8.2

jyr commented 11 years ago

On Mon, Mar 11, 2013 at 3:41 AM, Demenchuk Dmitry notifications@github.comwrote:

I use vim too. I was old problem. I'm trying to fix whitespaces when I notice them.

Look https://github.com/jyr/MNPP/commit/c1cbb632507d3cccaa2a112edac8ac69c6c7ca95my fix. You work with my changes?

mrded commented 11 years ago

404

You work with my changes?

Pardon?

jyr commented 11 years ago

On Mon, Mar 11, 2013 at 10:00 AM, Demenchuk Dmitry <notifications@github.com

wrote:

404

You work with my changes? Pardon?

sorry,

repaired in https://github.com/jyr/MNPP/commit/f865fbbfa9e7a16564c3ecc2fc5b91751bd0e8d9and https://github.com/jyr/MNPP/commit/c1cbb632507d3cccaa2a112edac8ac69c6c7ca95

mrded commented 11 years ago

My skype is mr.ded I do not understand what you want :)

jyr commented 11 years ago

On Mon, Mar 11, 2013 at 10:10 AM, Dmitry Demenchuk <notifications@github.com

wrote:

My skype is mr.ded I do not understand what you want :)

I mean, can you test my changes? https://github.com/jyr/MNPP/commits/clean

works MNPP for you with my changes?

:)

mrded commented 11 years ago

Got it. I work with MNPP every day. So I can just use latest version and test it :) Any way, can you add me to skype? Or let's think up way to discuss working process.

jyr commented 11 years ago

No more python for MNPP!