diff --git a/scripts/install_django_server.sh b/scripts/install_django_server.sh index dd2d4f7..d3e97d3 100644 --- a/scripts/install_django_server.sh +++ b/scripts/install_django_server.sh @@ -2,7 +2,6 @@ # Back-end ressources installation if [[ "$CI" == "true" ]]; then -then PYTHON=python3 PROJECT_DIR=$TRAVIS_BUILD_DIR else @@ -15,7 +14,6 @@ echo "DJANGO_DIR='$DJANGO_DIR'" >> .bashrc source .bashrc if [[ "$CI" != "true" ]]; then -then sudo apt-get install -y python3.5 fi diff --git a/scripts/install_front_end.sh b/scripts/install_front_end.sh index 07d65d8..755d7b8 100644 --- a/scripts/install_front_end.sh +++ b/scripts/install_front_end.sh @@ -3,7 +3,6 @@ HOME_DIR="/home/ubuntu" if [[ "$CI" == "true" ]]; then -then PROJECT_DIR=$TRAVIS_BUILD_DIR else PROJECT_DIR="/vagrant" @@ -21,7 +20,6 @@ sudo apt-get install -y nodejs # Fix error with shared folder and npm modules # https://medium.com/@dtinth/isolating-node-modules-in-vagrant-9e646067b36 if [[ "$CI" != "true" ]]; then -then mkdir $HOME_DIR/vagrant_node_modules mkdir $PROJECT_DIR/node_modules mount --bind $HOME_DIR/vagrant_node_modules $PROJECT_DIR/node_modules