X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=doc%2FCopy-an-existing-installation-over-SSH-and-serve-it-locally.html;h=067c68284c9c1a8c24e9de74c0a885e935006578;hb=5409ade28c5f0acf99dbadd4d95e6f8efda5d395;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..067c6828 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 +151,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 +161,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)