Author: Andreas Möller (localheinz) Committer: GitHub (web-flow) Pusher: cmb69 Date: 2022-06-17T16:44:11+02:00
Commit: https://github.com/php/web-php/commit/0cfc90abf22b391541141185f1ef0a0d455f0972 Raw diff: https://github.com/php/web-php/commit/0cfc90abf22b391541141185f1ef0a0d455f0972.diff Allow copying and pasting commands to set up the local development environment Closes GH-552. Changed paths: M README.md Diff: diff --git a/README.md b/README.md index a6e5b3966..42d873673 100644 --- a/README.md +++ b/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 -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php