Fix typos in cloud9_install.sh (#22)

Fixed typos
This commit is contained in:
Jori van Ee 2017-07-20 17:55:31 +02:00 committed by Jeremy "EndenDragon" Zhang
parent 75e11f82c1
commit a34f43a9d0

View File

@ -9,12 +9,12 @@ cp ~/workspace/webapp/config.example.py ~/workspace/webapp/config.py
cp ~/workspace/discordbot/config.example.py ~/workspace/discordbot/config.py cp ~/workspace/discordbot/config.example.py ~/workspace/discordbot/config.py
cp ~/workspace/webapp/alembic.example.ini ~/workspace/webapp/alembic.ini cp ~/workspace/webapp/alembic.example.ini ~/workspace/webapp/alembic.ini
echo "[C9Setup] Installing dependancies for discordbot" echo "[C9Setup] Installing discordbot dependencies"
cd ~/workspace/discordbot/ cd ~/workspace/discordbot/
sudo python3.5 -m pip install -r requirements.txt sudo python3.5 -m pip install -r requirements.txt
sudo python3.5 -m pip install pymysql sudo python3.5 -m pip install pymysql
echo "[C9Setup] Installing webapp dependancies" echo "[C9Setup] Installing webapp dependencies"
cd ~/workspace/webapp cd ~/workspace/webapp
sudo pip install -r requirements.txt sudo pip install -r requirements.txt
sudo pip install alembic pymysql sudo pip install alembic pymysql
@ -33,7 +33,7 @@ sed -i "11s/.*/\'database-uri\': \"mysql+pymysql:\/\/root@localhost\/titan\",/"
#'app-location': "/home/ubuntu/workspace/webapp/", #'app-location': "/home/ubuntu/workspace/webapp/",
sed -i "8s/.*/\'app-location\': \"\/home\/ubuntu\/workspace\/webapp\/\",/" ~/workspace/webapp/config.py sed -i "8s/.*/\'app-location\': \"\/home\/ubuntu\/workspace\/webapp\/\",/" ~/workspace/webapp/config.py
echo "[C9Setup] Making sure everything can be runned" echo "[C9Setup] Making sure everything can be ran"
sudo chmod -R 777 * sudo chmod -R 777 *
echo "------------------------------" echo "------------------------------"