From 5409ade28c5f0acf99dbadd4d95e6f8efda5d395 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Thu, 14 Apr 2016 14:20:23 +0200 Subject: Update docs from Wiki --- ...installation-over-SSH-and-serve-it-locally.html | 67 +++++++++++++++------- 1 file changed, 47 insertions(+), 20 deletions(-) (limited to 'doc/Copy-an-existing-installation-over-SSH-and-serve-it-locally.html') 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..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 @@ - 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,26 @@ code > span.er { color: #ff0000; font-weight: bold; }
  • Download
  • Server requirements
  • Server configuration
  • +
  • Server security
  • +
  • Shaarli installation
  • Shaarli configuration
  • +
  • Plugin installation & configuration
  • +
  • Docker
  • +
  • Plugin list
  • Usage
  • How To
  • @@ -62,6 +88,7 @@ code > span.er { color: #ff0000; font-weight: bold; }
  • Directory structure
  • 3rd party libraries
  • Plugin System
  • +
  • Release Shaarli
  • Security
  • Static analysis
  • Theming
  • @@ -77,7 +104,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 +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
    @@ -134,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)
    -- cgit v1.2.3