Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d7d2076

Browse filesBrowse files
committed
minor symfony#17 Changed the README a bit (WouterJ)
This PR was squashed before being merged into the master branch (closes symfony#17). Discussion ---------- Changed the README a bit * A bit personally, but an ordered list using numbers seem to indicate a list of steps, while an ordered list using characters indicates different options; * The demo command was added to the symfony installer (and is available if you download it from symfony.com); * Some code blocks used the bash highlighting, while others didn't; * Link to symfony's installing composer guide, as it explains how to install globally (composer still doesn't document this on its download page). Btw, why does the guide use `server:run` and not `server:start`? (maybe to be compatible with Windows users?) Commits ------- c52da0f Changed the README a bit
2 parents 1bca7b3 + c52da0f commit d7d2076
Copy full SHA for d7d2076

File tree

1 file changed

+14
-18
lines changed
Filter options

1 file changed

+14
-18
lines changed

‎README.md

Copy file name to clipboardExpand all lines: README.md
+14-18Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.