Corrections diverses
[zf2.biz/application_blanche.git] / README.md
1 ZendSkeletonApplication
2 =======================
3
4 Introduction
5 ------------
6 This is a simple, skeleton application using the ZF2 MVC layer and module
7 systems. This application is meant to be used as a starting place for those
8 looking to get their feet wet with ZF2.
9
10
11 Installation
12 ------------
13
14 Using Composer (recommended)
15 ----------------------------
16 The recommended way to get a working copy of this project is to clone the repository
17 and use `composer` to install dependencies using the `create-project` command:
18
19     curl -s https://getcomposer.org/installer | php --
20     php composer.phar create-project --repository-url="http://packages.zendframework.com" zendframework/skeleton-application path/to/install
21
22 Alternately, clone the repository and manually invoke `composer` using the shipped
23 `composer.phar`:
24
25     cd my/project/dir
26     git clone git://github.com/zendframework/ZendSkeletonApplication.git
27     cd ZendSkeletonApplication
28     php composer.phar self-update
29     php composer.phar install
30
31 (The `self-update` directive is to ensure you have an up-to-date `composer.phar`
32 available.)
33
34 Another alternative for downloading the project is to grab it via `curl`, and
35 then pass it to `tar`:
36
37     cd my/project/dir
38     curl -#L https://github.com/zendframework/ZendSkeletonApplication/tarball/master | tar xz --strip-components=1
39
40 You would then invoke `composer` to install dependencies per the previous
41 example.
42
43 Using Git submodules
44 --------------------
45 Alternatively, you can install using native git submodules:
46
47     git clone git://github.com/zendframework/ZendSkeletonApplication.git --recursive
48
49 Virtual Host
50 ------------
51 Afterwards, set up a virtual host to point to the public/ directory of the
52 project and you should be ready to go!