Skip to content

Commit

Permalink
Update create django app
Browse files Browse the repository at this point in the history
  • Loading branch information
munisisazade committed Jan 19, 2019
1 parent 7ec976d commit fff9744
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
13 changes: 7 additions & 6 deletions base.sh
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ function base_script {
exit 1
fi
weebhook
if [[ ! -z "$BASE_DJANGO" ]];then
if [[ -z "$BASE_DJANGO" ]];then
OK_PASS="true"
else
BASE_DJANGO="django==1.11.9"
Expand Down Expand Up @@ -254,11 +254,12 @@ function base_script {
oscar_configuration
else
echo "$(ChangeColor green text)Django2 files configurations ...$(ChangeColor white text)"
if [[ ! -z "$STABLE_DJANGO" ]];then
django_stable_configuration
else
django_2_configuration
fi
django_stable_configuration
# if [[ ! -z "$STABLE_DJANGO" ]];then
# django_stable_configuration
# else
# django_2_configuration
# fi
fi
ask_git
finish
Expand Down
9 changes: 7 additions & 2 deletions test/tesing.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ fi
echo "My local command directory is $LOCAL_COMMAND_DIRECTORY"
echo "My local share directory is $TLP_DIRECTORY"

if [ -d $LOCAL_COMMAND_DIRECTORY ]; then
echo "Yes I have"
#MUNISS="asdasd"

if [[ ! -z "$MUNISS" ]]; then
echo "Beli yoxdur"
else
echo "Var"
fi

0 comments on commit fff9744

Please sign in to comment.