Skip to content

Commit

Permalink
fix install error -fix #546 #545
Browse files Browse the repository at this point in the history
  • Loading branch information
TheoLechemia committed Aug 26, 2024
1 parent 87ef810 commit 3afe6e5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions install_app.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,11 @@ pip install -e . || exit 1
deactivate


#affectation des droits sur le répertoire static/medias
chmod -R 775 static/medias || exit 1

# before 2.0.1 - Déplacement des fichiers médias de taxhub
# !! ne marche pas si la variable MEDIA_FOLDER est surcouchée
if [ ! -d "media/taxhub" ];then
mkdir -p "/media/taxhub"
cp -r /static/medias/* media/taxhub/
cp -r static/medias/* media/taxhub/
fi

#Lancement de l'application
Expand Down

0 comments on commit 3afe6e5

Please sign in to comment.