Code Monkey home page Code Monkey logo

Comments (3)

99MengXin avatar 99MengXin commented on June 17, 2024 1

Raspberry Pi

I love this useful and cheap tool.

Platform

hostnamectl

Operating System: Debian GNU/Linux 11 (bullseye)
Kernel: Linux 6.1.21-v8+
Architecture: arm64

Docker Installation

You need docker first, and it's super easy. Install Docker Engine on Debian | Docker Documentation

curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh

Lute Installation

Follow step by step, and you will not get lost. 🙂

Step 1

  • Go back your home
cd

Step 2

  • Create the folders we need
mkdir ./Containers/lute/lute_2.0.7 -p
mkdir ./Containers/lute/LuteBackup -p

Step 3

  • Go to the folder you just created
cd ./Containers/lute/lute_2.0.7

Step 4

  • Download lute from GitHub
wget https://github.com/jzohrab/lute/releases/download/v2.0.7/lute_release.zip

Step 5

  • Unzip the file
unzip lute_release.zip

Step 6

  • Remove the zip file
rm lute_release.zip

Step 7

  • Go back your home
cd

Step 8

  • Go to your backup folder
cd ./Containers/lute/LuteBackup

Step 9

  • Check and copy your backup direction
pwd

Step 10

  • Go back your home
cd

Step 11

  • Go back to lute folder
cd ./Containers/lute/lute_2.0.7

Step 12

  • Copy .env file for lute
cp .env.example.docker .env

Step 13

  • Open .env with nano editor
nano .env

Step 14

  • In Line 6, put what you got at Step 9
  • If your username is pi, it will be /home/pi/Containers/lute/LuteBackup
BACKUP_HOST_DIR=/home/pi/Containers/lute/LuteBackup

Step 15

  • In Line 7, amend the false to true
BACKUP_ENABLED=true

Step 16

  • In line 16 and 17, amend the yourusername and yourpassword to what ever you like, e.g. lute
LOGIN_USERNAME=lute
LOGIN_PASSWORD=lute

Step 17

  • Open security.yaml with nano editor
nano ./config/packages/security.yaml

Step 18

  • In Line 18 and 23, amend false to true
security: true

Step 19

  • Copy your data from previous version, e.g. lute 2.0.5
  • If you are new in here, skip this step
cp ../lute_2.0.5/data/lute.db ./data/lute.db

Step 20

  • Build the image
docker compose build

Step 21

  • Up the container
docker compose up -d

Step 22

  • Open your favorite browser and go to [Your Pi's IP]:8000

Step 23

  • Enjoy and Cheers 🎉

from lute.

jzohrab avatar jzohrab commented on June 17, 2024 1

This is going on the wiki when I get permission to add it! :-) Thank you for the detail!

from lute.

jzohrab avatar jzohrab commented on June 17, 2024 1

I've added this to the wiki. Rather than keep this open, will wait for feedback from ecurb_forp in discord, he/she prompted this initial ticket.

from lute.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.