How to install / install zend framework on mac os x lion? Where is .bash_profile located to set an alias for zf.sh?

Note. Move this question to another site if you think it’s not here.

Guys, I'm trying to install / configure the zend framework on my macbook pro. I am running MAMP Pro 2.0.3 on mac os x lion 10.7.2

I got the zend environment installation setup form http://akrabat.com/ . The author says that I should add an alias in the zf.sh script to my ~ / .bash_profile file. But there is no such file in my home directory, I create a new file "touch.bash_profile", but this also does not work.

I also downloaded a trial trial version of zend and tried to create a project from there, but when I launched it in a browser, it only showed a blank page ...

Any idea what is going wrong? Can someone tell me what I can do to successfully create a project from zend or zend?

Is there a step-by-step guide for mac os x lion? any help would be greatly appreciated!

Update 1 - OMG! how can I skip this ... when I create the zend studio project form, I don’t put the zend library in the "library" folder ... that’s why I get a blank page ... I just copied the zend folder in the library and the zend Studio project form got a job ...

still works to solve the first problem (installing zf.sh) :(

+5
source share
5 answers

Since there was no .bash_profile, I created my own! by -

sudo nano ~./bash_profile

zf.sh -

alias zf=/usr/local/ZendFrameworkCli/bin/zf.sh

!!

, -

zf show version

...

@tawfekov @halfer

+4

, , .

alias zf =/usr/local/ZendFrameworkCli/bin/zf.sh

, .

MAC OS X:.

1: open ~/.bash_profile

2: zf =/usr/local/ZendFrameworkCli/bin/zf.sh

3: bash_profile

4: zend zf

+2

ls -a ~ , - , , .profile.

+1

, mac osx, ubuntu

1- , ​​zend framework: /home/saurabh/ZendFramework/ zf.sh /home/saurabh/ZendFramework/bin/zf.sh

bin, ln -s /home/saurabh/ZendFramework/bin/zf.sh /home/saurabh/bin/zf

, zf , zf

2- zend framework doc http://framework.zend.com/manual/en/zend.tool.framework.clitool.html

3- : http://www.zendcasts.com/

+1

, zend, , , zend, ..

zendframework/bin/zf.sh create project quickstart

.

+1

All Articles