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

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.

主站蜘蛛池模板: 长春市| 丹巴县| 磐石市| 兴海县| 开江县| 江城| 松溪县| 洛隆县| 泉州市| 泉州市| 永嘉县| 洪湖市| 隆昌县| 岳普湖县| 出国| 昌宁县| 防城港市| 宁海县| 饶阳县| 宿松县| 宿松县| 荃湾区| 白玉县| 鄂伦春自治旗| 平阴县| 杭锦旗| 澳门| 宜良县| 澄迈县| 松原市| 呼玛县| 濮阳市| 姜堰市| 吴桥县| 黔南| 新丰县| 招远市| 隆德县| 罗定市| 新昌县| 叙永县|