X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=doc%2FCopy-an-existing-installation-over-SSH-and-serve-it-locally.html;h=edb1555fcbfa661f4c233a4de1a2cac198f14451;hb=9ccca40189652e529732683abcdf54fcf775c9ec;hp=9e930e522fd65b2235493e6e0a6df8c9967ead60;hpb=992af0b9d77cb4fbac2c37ef8d5896042d67a2a3;p=github%2Fshaarli%2FShaarli.git diff --git a/doc/Copy-an-existing-installation-over-SSH-and-serve-it-locally.html b/doc/Copy-an-existing-installation-over-SSH-and-serve-it-locally.html index 9e930e52..edb1555f 100644 --- a/doc/Copy-an-existing-installation-over-SSH-and-serve-it-locally.html +++ b/doc/Copy-an-existing-installation-over-SSH-and-serve-it-locally.html @@ -4,31 +4,49 @@ -
Example bash script:
-#!/bin/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.
#Will NOT download linked pages. It's just a directly usable backup/copy/mirror of your Shaarli
@@ -122,9 +150,9 @@ code > span.er { color: #ff0000; font-weight: bold; }
##### MAIN #################
-_main
+_main
This outputs:
-$ ./local-shaarli.sh
+$ ./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
@@ -132,6 +160,6 @@ code > span.er { color: #ff0000; font-weight: bold; }
[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)
+[Mon Sep 1 21:56:37 2014] ::1:57881 [200]: /...[](.html)