diff --git a/pyshelf.sh b/pyshelf.sh index 7331d4b..3f1fdbe 100755 --- a/pyshelf.sh +++ b/pyshelf.sh @@ -2,15 +2,15 @@ # This script is used to run the pyshelf application. # It sets up the environment and runs the main script. # first we need to activate the virtual environment -if [ -d ".venv" ]; then - source .venv/bin/activate +if [ -d "/etc/pyShelf/.venv" ]; then + source /etc/pyShelf/.venv/bin/activate else echo "Virtual environment not found. Please create it first." exit 1 fi # then we need to run the main script if [ -f "release/pyshelf" ]; then - ./release/pyshelf + sudo -u pyshelf /etc/pyShelf/release/pyshelf else echo "Main script not found. Please check the directory." exit 1 diff --git a/src/frontend/static/styles/pyShelf.sass b/src/frontend/static/styles/pyShelf.sass index c599ada..da94d1e 100644 --- a/src/frontend/static/styles/pyShelf.sass +++ b/src/frontend/static/styles/pyShelf.sass @@ -153,7 +153,8 @@ $footer-background-color: $ps-color-primary-trans !important display: flex; justify-content: flex-end; -@import "../../node_modules/bulma/bulma.scss" +// @import "../../node_modules/bulma/bulma.scss" +@use "bulma/bulma.sass"; .container-full width: 100%;