Skip to content

Commit

Permalink
Remove angularjs
Browse files Browse the repository at this point in the history
  • Loading branch information
amandine-sahl committed Mar 16, 2023
1 parent a5943e1 commit 1096f13
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions install_app.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,6 @@ echo "préparation du fichier config.py..."
sed -i "s/SQLALCHEMY_DATABASE_URI = .*$/SQLALCHEMY_DATABASE_URI = \"postgresql:\/\/$user_pg:$user_pg_pass@$db_host:$db_port\/$db_name\"/" apptax/config.py


# rendre la commande nvm disponible
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
#installation de node et npm et des librairies JS
cd static/
nvm install || exit 1
nvm use || exit 1
npm ci || exit 1
cd ..

#Installation du virtual env
echo "Installation du virtual env..."

Expand All @@ -37,12 +26,6 @@ fi
pip install -e . || exit 1
deactivate

#création d'un fichier de configuration
if [ ! -f static/app/constants.js ]; then
echo 'Fichier de configuration non existant'
cp static/app/constants.js.sample static/app/constants.js || exit 1
fi


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

0 comments on commit 1096f13

Please sign in to comment.