Skip to content

Commit 868d614

Browse files
committed
docs: fix markdown
1 parent 1f1578a commit 868d614

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

README.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,16 @@ With those out of the way, it only takes a few small steps to get the project up
4040

4141
1 - Clone the repo if you haven't already, from the CLI:
4242

43-
git clone https://github.com/codeigniter4projects/playground
43+
```console
44+
git clone https://github.com/codeigniter4projects/playground
45+
```
4446

4547
That creates a new directory, `playground`, under your current directory.
4648

4749
2 - Enter the new directory and install the project dependencies with Composer. NOTE: The command shown
4850
here assumes that you have Composer loaded globally. If you don't, then pretend we're using `composer.phar`.
4951

50-
```
52+
```console
5153
cd playground
5254
composer install
5355
```
@@ -66,19 +68,23 @@ composer install
6668

6769
4 - Back on the command line, we install all of the needed database tables and sample data.
6870

69-
```
71+
```console
7072
php spark migrate
7173
php spark db:seed PlaygroundSeeder
7274
```
7375

7476
5 - That's it! If you're hosting through Apache, Nginx, etc, then head to your site. If you just want a quick
7577
way to work with your site locally, go back to the CLI and start up `spark`, CodeIgniter's small server.
7678

77-
php spark serve
79+
```console
80+
php spark serve
81+
```
7882

7983
If you get would like to change the port it's running on, that's no problem:
8084

81-
php spark serve --port 8081
85+
```console
86+
php spark serve --port 8081
87+
```
8288

8389
Enjoy!
8490

0 commit comments

Comments
 (0)