Skip to content

Commit 8abc2f0

Browse files
authored
Merge pull request #5432 from kenjis/fix-docs-php-spark
docs: add command prompt `>` before `php spark`
2 parents 2c483ee + 11007b4 commit 8abc2f0

6 files changed

Lines changed: 10 additions & 10 deletions

File tree

user_guide_src/source/cli/cli_generators.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ generator command are recognized by the scaffold command.
260260

261261
Running this in your terminal::
262262

263-
php spark make:scaffold user
263+
> php spark make:scaffold user
264264

265265
will create the following classes:
266266

user_guide_src/source/dbmgmt/forge.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ will complain that the database creation has failed.
6767

6868
To start, just type the command and the name of the database (e.g., ``foo``)::
6969

70-
php spark db:create foo
70+
> php spark db:create foo
7171

7272
If everything went fine, you should expect the ``Database "foo" successfully created.`` message displayed.
7373

@@ -76,7 +76,7 @@ for the file where the database will be created using the ``--ext`` option. Vali
7676
``sqlite`` and defaults to ``db``. Remember that these should not be preceded by a period.
7777
::
7878

79-
php spark db:create foo --ext sqlite
79+
> php spark db:create foo --ext sqlite
8080
// will create the db file in WRITEPATH/foo.sqlite
8181

8282
.. note:: When using the special SQLite3 database name ``:memory:``, expect that the command will still

user_guide_src/source/installation/running.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ CodeIgniter 4 comes with a local development server, leveraging PHP's built-in w
4343
with CodeIgniter routing. You can use the ``serve`` script to launch it,
4444
with the following command line in the main directory::
4545

46-
php spark serve
46+
> php spark serve
4747

4848
This will launch the server and you can now view your application in your browser at http://localhost:8080.
4949

@@ -58,17 +58,17 @@ The local development server can be customized with three command line options:
5858

5959
- You can use the ``--host`` CLI option to specify a different host to run the application at::
6060

61-
php spark serve --host example.dev
61+
> php spark serve --host example.dev
6262

6363
- By default, the server runs on port 8080 but you might have more than one site running, or already have
6464
another application using that port. You can use the ``--port`` CLI option to specify a different one::
6565

66-
php spark serve --port 8081
66+
> php spark serve --port 8081
6767

6868
- You can also specify a specific version of PHP to use, with the ``--php`` CLI option, with its value
6969
set to the path of the PHP executable you want to use::
7070

71-
php spark serve --php /usr/bin/php7.6.5.4
71+
> php spark serve --php /usr/bin/php7.6.5.4
7272

7373
Hosting with Apache
7474
===================

user_guide_src/source/installation/troubleshooting.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ How do I know if my install is working?
99

1010
From the command line, at your project root::
1111

12-
php spark serve
12+
> php spark serve
1313

1414
``http://localhost:8080`` in your browser should then show the default
1515
welcome page:

user_guide_src/source/tutorial/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ comes with a simple command that takes advantage of PHP's built-in server to get
8282
you up and running fast on your development machines. Type the following on the
8383
command line from the root of your project::
8484

85-
php spark serve
85+
> php spark serve
8686

8787

8888
The Welcome Page

user_guide_src/source/tutorial/static_pages.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ From the command line, at the root of your project:
178178

179179
::
180180

181-
php spark serve
181+
> php spark serve
182182

183183
will start a web server, accessible on port 8080. If you set the location field
184184
in your browser to ``localhost:8080``, you should see the CodeIgniter welcome page.

0 commit comments

Comments
 (0)