1
0
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:
Andreas Möller
2022-06-17 15:44:11 +01:00
committed by GitHub
parent 855860ae25
commit 0cfc90abf2

View File

@@ -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