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=d06c28ef64c96c40f627503a27ea224947e288f0;hp=9e930e522fd65b2235493e6e0a6df8c9967ead60;hpb=27cf2e671d1f35bd8c9383d008cd3733fc1c6e0d;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 @@ - Shaarli - Copy an existing installation over SSH and serve it locally + Shaarli – Copy an existing installation over SSH and serve it locally - +
@@ -36,21 +54,30 @@ code > span.er { color: #ff0000; font-weight: bold; }
  • Home
  • Installation
  • +
  • Docker
  • Usage
  • How To
  • Troubleshooting
  • Development @@ -60,6 +87,7 @@ code > span.er { color: #ff0000; font-weight: bold; }
  • Directory structure
  • 3rd party libraries
  • Plugin System
  • +
  • Release Shaarli
  • Security
  • Static analysis
  • Theming
  • @@ -75,7 +103,7 @@ code > span.er { color: #ff0000; font-weight: bold; }

    Copy an existing installation over SSH and serve it locally

    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)