Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c52da0f

Browse files
wouterjjaviereguiluz
authored andcommitted
Changed the README a bit
1 parent 1bca7b3 commit c52da0f

File tree

1 file changed

+14
-18
lines changed

1 file changed

+14
-18
lines changed

README.md

Lines changed: 14 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -10,58 +10,54 @@ Installation
1010
This is a fully-functional Symfony project. If you want to get it running,
1111
you have two alternatives:
1212

13-
### 1) Use the Symfony Installer
13+
### A) Using the Symfony Installer
1414

1515
First, install the [Symfony Installer](https://github.com/symfony/symfony-installer).
1616
Then, download and install the Symfony Demo Application executing this command
1717
anywhere in your system:
1818

1919
```bash
20-
# NOTE: this command doesn't work yet. It will be added to the installer soon.
2120
$ symfony demo
21+
22+
# if you're using Windows:
23+
$ php symfony demo
2224
```
2325

24-
### 2) Clone the Repository
26+
### B) Using Git
2527

2628
Alternatively, you can clone this repository using Git. Open up a terminal and
2729
execute the following command:
2830

29-
```
31+
```bash
3032
$ git clone https://github.com/symfony/symfony-demo
3133
````
3234

33-
Next, move into the project and use Composer to download the application
34-
dependencies:
35+
Next, [install Composer](http://symfony.com/doc/current/cookbook/composer.html)
36+
(if you haven't done this already), move into the project and use Composer to
37+
download the application dependencies:
3538
36-
```
39+
```bash
3740
$ cd symfony-demo/
3841
$ composer install
3942
```
4043
41-
Make sure you [install Composer](http://getcomposer.org/download/) before
42-
running this.
43-
4444
Usage
4545
-----
4646
4747
If you have PHP 5.4 or higher, there is no need to configure a virtual host
4848
in your web server to access the application. Just use the built-in web server:
4949
50-
```
50+
```bash
5151
$ cd symfony-demo/
5252
$ php app/console server:run
5353
```
5454
55-
This will start a web server that's accessible at http://localhost:8000.
56-
It will just sit and wait forever, so don't expect it to finish. You can
57-
quit it later when you want by pressing `ctrl + c`.
55+
This command will start a web server for the Symfony application. Now you can access
56+
the application in your browser at <http://localhost:8000>. You can stop the built-in
57+
web server by pressing `Ctrl + C` while you're in the terminal.
5858

5959
> **NOTE**
6060
>
6161
> If you're using PHP 5.3, configure your web server to point at the `web/`
6262
> directory of the project. For more details, see:
6363
> http://symfony.com/doc/current/cookbook/configuration/web_server_configuration.html
64-
65-
You're all done! Now just load up the application in your browser:
66-
67-
http://localhost:8000

0 commit comments

Comments
 (0)