mirror of
https://github.com/php/web-php.git
synced 2026-03-23 23:02:13 +01:00
Allow copying and pasting commands to set up the local development environment
Closes GH-552.
This commit is contained in:
19
README.md
19
README.md
@@ -2,12 +2,23 @@
|
||||
|
||||
This is the git repository for the official www.php.net website.
|
||||
|
||||
To setup a local mirror of the website:
|
||||
To setup a local mirror of the website, clone the repository:
|
||||
|
||||
$ git clone https://github.com/php/web-php.git
|
||||
$ cd web-php
|
||||
$ php -S localhost:8080 .router.php
|
||||
```
|
||||
git clone https://github.com/php/web-php.git
|
||||
```
|
||||
|
||||
Change into `web-php`:
|
||||
|
||||
```
|
||||
cd web-php
|
||||
```
|
||||
|
||||
Start the built-in web server:
|
||||
|
||||
```
|
||||
php -S localhost:8080 .router.php
|
||||
```
|
||||
|
||||
This repository includes most (generated) files that are required for normal
|
||||
operation of this website, such as
|
||||
|
||||
Reference in New Issue
Block a user