Unverified Kaydet (Commit) 44503153 authored tarafından Uğur Özyılmazel's avatar Uğur Özyılmazel

Colorize install script

üst 518250c4
......@@ -6,6 +6,17 @@
set -e
set -o pipefail
color_0=$(tput setaf 0)
color_1=$(tput setaf 1) # red
color_2=$(tput setaf 2) # green
color_3=$(tput setaf 3) # orange
color_4=$(tput setaf 4) # blue
color_5=$(tput setaf 5) # pink
color_6=$(tput setaf 6) # cyan
color_7=$(tput setaf 7) # white
color_8=$(tput setaf 8) # gray
color_r=$(tput sgr0) # reset
AVAILABLE_OPTIONS=(
"Django 2.0.5"
"Django 2.1.3"
......@@ -55,10 +66,10 @@ cp config/settings/development.example.py config/settings/development.py &&
cp config/settings/test.example.py config/settings/test.py &&
echo
echo
echo "Installation completed..."
echo "Now, create your virtual environment and run:"
printf "${color_2}Installation completed...${color_r}\n\n"
echo -e "\tNow, create your virtual environment and run:"
echo
echo "cd ${PROJECT_NAME}/"
echo "pip install -r requirements/development.pip"
echo -e "\tcd ${PROJECT_NAME}/"
echo -e "\tpip install -r requirements/development.pip"
echo
echo
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment