Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save alekpopovic/133024f7bfcbf57d665c2aa6c3d74498 to your computer and use it in GitHub Desktop.

Select an option

Save alekpopovic/133024f7bfcbf57d665c2aa6c3d74498 to your computer and use it in GitHub Desktop.

Revisions

  1. @thiagomgo thiagomgo created this gist Oct 11, 2016.
    12 changes: 12 additions & 0 deletions Install-Redis-Desktop-Manager.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    # Clone the repository from GitHub
    git clone --recursive https://github.com/uglide/RedisDesktopManager.git -b 0.8.0 rdm && cd ./rdm

    # Compile the source
    cd src/
    ./configure
    source /opt/qt56/bin/qt56-env.sh && qmake && make
    sudo checkinstall -D --install
    sudo gdebi /home/$USER/rdm/src/src_*.deb
    cd /usr/share/redis-desktop-manager/bin
    sudo mv qt.conf qt.backup

    7 changes: 7 additions & 0 deletions Redis\ Desktop\ Manager.desktop
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    [Desktop Entry]
    Comment=Redis Desktop Manager
    Terminal=false
    Name=Redis Desktop Manager
    Exec=/usr/share/redis-desktop-manager/bin/rdm.sh
    Type=Application
    Icon=/usr/share/redis-desktop-manager/bin/rdm.png
    5 changes: 5 additions & 0 deletions rdm.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    #!/bin/bash
    source /opt/qt56/bin/qt56-env.sh
    DIR=$(dirname "$(readlink -f "$0")")
    export LD_LIBRARY_PATH="$DIR/../lib":$LD_LIBRARY_PATH
    $DIR/rdm