Ver Fonte

Get started: updated console path for SF3

Yannick ROGER há 8 anos atrás
pai
commit
e0d70a6308

+ 3 - 3
Resources/doc/getting_started/creating_an_admin.rst

@@ -14,8 +14,8 @@ using these commands:
 
 
 .. code-block:: bash
 .. code-block:: bash
 
 
-    $ php app/console doctrine:generate:entity --entity="AppBundle:Category" --fields="name:string(255)" --no-interaction
-    $ php app/console doctrine:generate:entity --entity="AppBundle:BlogPost" --fields="title:string(255) body:text draft:boolean" --no-interaction
+    $ php bin/console doctrine:generate:entity --entity="AppBundle:Category" --fields="name:string(255)" --no-interaction
+    $ php bin/console doctrine:generate:entity --entity="AppBundle:BlogPost" --fields="title:string(255) body:text draft:boolean" --no-interaction
 
 
 After this, you'll need to tweak the entities a bit:
 After this, you'll need to tweak the entities a bit:
 
 
@@ -102,7 +102,7 @@ After this, create the schema for these entities:
 
 
 .. code-block:: bash
 .. code-block:: bash
 
 
-    $ php app/console doctrine:schema:create
+    $ php bin/console doctrine:schema:create
 
 
 .. note::
 .. note::
 
 

+ 3 - 3
Resources/doc/getting_started/installation.rst

@@ -145,8 +145,8 @@ install the assets:
 
 
 .. code-block:: bash
 .. code-block:: bash
 
 
-    $ php app/console cache:clear
-    $ php app/console assets:install
+    $ php bin/console cache:clear
+    $ php bin/console assets:install
 
 
 The Admin Interface
 The Admin Interface
 -------------------
 -------------------
@@ -157,7 +157,7 @@ server, you can now visit the admin page on http://localhost:8000/admin
 .. note::
 .. note::
 
 
     This tutorial assumes you are using the build-in server using the
     This tutorial assumes you are using the build-in server using the
-    ``php app/console server:start`` (or ``server:run``) command.
+    ``php bin/console server:start`` (or ``server:run``) command.
 
 
 .. image:: ../images/getting_started_empty_dashboard.png
 .. image:: ../images/getting_started_empty_dashboard.png