Reputation: 1850
yikes i have forgotten but am following:
http://www.symfony-project.org/getting-started/1_4/en/03-Symfony-Installation
i have a jobeet directory and want to install symfony-1.4.16 here. i downloaded symfony-1.4.16.tgz and unpacked it with tar zxpf symfony-1.4.16.tgz then moved it mv symfony-1.4.16 symfony and removed the tgz with rm symfony-1.4.16.tgz i have this now:
helloises@helloise:~/jobeet$ ls -lah
total 7.2M
drwxr-xr-x 3 helloises helloises 4.0K 2012-01-09 15:06 .
drwxr-xr-x 83 helloises helloises 4.0K 2012-01-09 14:59 ..
-rw-r--r-- 1 helloises helloises 593K 1970-01-01 11:13 package.xml
-rwxr-xr-x 1 helloises helloises 3.6M 2012-01-04 09:13 symfony-1.2.12.tgz (is in GREEN)
drwxr-xr-x 5 helloises helloises 4.0K 2012-01-09 15:06 symfony (is in BLUE)
-rw-r--r-- 1 helloises helloises 3.1M 2012-01-09 15:05 symfony-1.4.16.tgz (is in RED)
huh? dont know what is going on here.. i unpacked version 1.4.16 i run:
helloises@helloise:~/jobeet$ ./symfony generate:project jobeet --orm=Propel
bash: ./symfony: is a directory
any help please? thanks
Upvotes: 0
Views: 104
Reputation: 1696
You need to make a lib/vendor folder. The symfony folder must be under the vendor folder (*/wherever_my_project_is/lib/vendor/symfony*).
The go up two levels (so you can see the lib folder (if you do a ls
) and run
php lib/vendor/symfony/data/bin/symfony -V
If everything is ok, that should return the symfony version.
Then you can generate a new project:
php lib/vendor/symfony/data/bin/symfony generate:project PROJECT_NAME
That will create the necessary directory structure and also make the symfony executabile for you (in your project directory). See more here. I recommend reading A Gentle Introduction to symfony tutorial.
Upvotes: 4