官术网_书友最值得收藏!

Installing Symfony

There are three ways in which you can install and set up Symfony on your local system:

  • Using the sandbox
  • Checking out of subversion
  • Installing via PEAR

Version 1.3 was not released at the time of the writing this book, so I cannot provide you with the exact links to install it. However, I can point you in the direction of some more useful documentation located on the Symfony web site at http://www.symfony-project.org/installation and http://www.symfony-project.org/getting-started/1_2/en/.

The fastest way of setting up Symfony, especially for the first time, is to download the sandbox. The sandbox works straight out of box and contains the basic application already created for you.

The sandbox can be downloaded from http://www.symfony-project.org/get/symfony-stable.tgz 0.

If you follow the PEAR route, you can use that installation to create your own sandbox at http://www.symfony-project.org/blog/2009/06/10/new-in-symfony-1-3-project-creation-customization.

Note

For developing with Version 1.3, I used two methods to obtain a sandbox.

Checked out Symfony from SVN into a temporary folder:

>mkdir symfony_1.3 && cd symfony_1.3 >svn co http://svn.symfony-project.com/branches/1.3

Next I used the Symfony create_sandbox script to create a zipped up sandbox:

>data/bin/create_sandbox.sh

After running the command you will see the package being build. Afterwards, you will see two new files in the current folder, sf_sandbox.tgz and sf_sandbox.zip. You can extract either one and rename the folder from sf_sandbox to milkshake. Afterwards you can place this folder in your workspace folder.

主站蜘蛛池模板: 呼伦贝尔市| 青川县| 阳新县| 鞍山市| 泰和县| 方山县| 台湾省| 巫溪县| 沙坪坝区| 革吉县| 淮北市| 库车县| 乐昌市| 营口市| 邢台县| 隆昌县| 寻乌县| 横峰县| 湘乡市| 广河县| 沈阳市| 驻马店市| 修武县| 柳州市| 五指山市| 邵东县| 丰顺县| 澎湖县| 临武县| 乌审旗| 小金县| 耿马| 昌都县| 吐鲁番市| 康保县| 龙江县| 道孚县| 湛江市| 达拉特旗| 铅山县| 河东区|