X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=doc%2FCopy-an-existing-installation-over-SSH-and-serve-it-locally.md;fp=doc%2FCopy-a-Shaarli-installation-over-SSH-SCP%2C-serve-it-locally-with-php-cli.md;h=88d191daba95f14c7fc2f778e762ce3c736fa710;hb=992af0b9d77cb4fbac2c37ef8d5896042d67a2a3;hp=5b0aec6f04b8e250ad8d3759d87678f978268312;hpb=96db105e4c0833324f7168edb5673278de8ccd54;p=github%2Fshaarli%2FShaarli.git diff --git a/doc/Copy-a-Shaarli-installation-over-SSH-SCP,-serve-it-locally-with-php-cli.md b/doc/Copy-an-existing-installation-over-SSH-and-serve-it-locally.md similarity index 87% rename from doc/Copy-a-Shaarli-installation-over-SSH-SCP,-serve-it-locally-with-php-cli.md rename to doc/Copy-an-existing-installation-over-SSH-and-serve-it-locally.md index 5b0aec6f..88d191da 100644 --- a/doc/Copy-a-Shaarli-installation-over-SSH-SCP,-serve-it-locally-with-php-cli.md +++ b/doc/Copy-an-existing-installation-over-SSH-and-serve-it-locally.md @@ -1,6 +1,7 @@ +#Copy an existing installation over SSH and serve it locally Example bash script: -``` +```bash #!/bin/bash #Description: Copy a Shaarli installation over SSH/SCP, serve it locally with php-cli #Will create a local-shaarli/ directory when you run it, backup your Shaarli there, and serve it locally. @@ -53,14 +54,14 @@ _main This outputs: -``` +```bash $ ./local-shaarli.sh PHP 5.6.0RC4 Development Server started at Mon Sep 1 21:56:19 2014 Listening on http://localhost:7431 Document root is /home/user/local-shaarli/shaarli Press Ctrl-C to quit. -[Mon Sep 1 21:56:27 2014] ::1:57868 [200]: / -[Mon Sep 1 21:56:27 2014] ::1:57869 [200]: /index.html -[Mon Sep 1 21:56:37 2014] ::1:57881 [200]: /... -``` \ No newline at end of file +[Mon Sep 1 21:56:27 2014] ::1:57868 [200]: /[](.html) +[Mon Sep 1 21:56:27 2014] ::1:57869 [200]: /index.html[](.html) +[Mon Sep 1 21:56:37 2014] ::1:57881 [200]: /...[](.html) +```