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=e27b1134660a36f7d9f2a555963aadb422e53275;hpb=f8b936e7e75601b5d96525f25d5b52dbabd909b4;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 e27b1134..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 - +
@@ -39,18 +57,25 @@ code > span.er { color: #ff0000; font-weight: bold; }
  • Download
  • Server requirements
  • Server configuration
  • +
  • Server security
  • +
  • Shaarli installation
  • Shaarli configuration
  • +
  • Plugins
  • +
  • Docker
  • Usage
  • How To
  • @@ -62,6 +87,7 @@ code > span.er { color: #ff0000; font-weight: bold; }
  • Directory structure
  • 3rd party libraries
  • Plugin System
  • +
  • Release Shaarli
  • Security
  • Static analysis
  • Theming
  • @@ -77,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
    @@ -124,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
    @@ -134,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)