diff --git a/install.sh b/install.sh index 8f9a467..db13113 100755 --- a/install.sh +++ b/install.sh @@ -5,7 +5,7 @@ set -e DEBUG=${DEBUG:-0} -REQUIREMENTS="git wget ffmpeg python3 python3-pip python3-dev python3-venv gzip" +REQUIREMENTS="git wget ffmpeg python3 python3-pip python3-dev python3-venv g{,un}zip sqlite3" REPOSITORY=${REPOSITORY:-https://github.com/UncleSamulus/BirdNET-stream.git} BRANCH=${BRANCH:-main} WORKDIR="$(pwd)/BirdNET-stream" @@ -206,6 +206,7 @@ install_config() { update_permissions() { debug "Updating permissions (may not work properly)" + cd $WORKDIR sudo chown -R $USER:birdnet "$WORKDIR" sudo chown -R $USER:birdnet "$CHUNK_FOLDER" sudo chmod -R 755 "$CHUNK_FOLDER" diff --git a/www/.gitignore b/www/.gitignore index f6bc5ec..e3d09c7 100644 --- a/www/.gitignore +++ b/www/.gitignore @@ -8,6 +8,7 @@ /public/bundles/ /var/ /vendor/ +yarn.lock ###< symfony/framework-bundle ### ###> symfony/webpack-encore-bundle ###