mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2025-01-24 04:48:27 +01:00
Add app location to c9 install
This commit is contained in:
parent
e99b52f433
commit
5f44738865
@ -28,8 +28,10 @@ echo "[C9Setup] Setting database uri for discordbot/config.py"
|
|||||||
#'database-uri': "mysql+pymysql://root@localhost/titan",
|
#'database-uri': "mysql+pymysql://root@localhost/titan",
|
||||||
sed -i "4s/.*/\'database-uri\': \"mysql+pymysql:\/\/root@localhost\/titan\",/" ~/workspace/discordbot/config.py
|
sed -i "4s/.*/\'database-uri\': \"mysql+pymysql:\/\/root@localhost\/titan\",/" ~/workspace/discordbot/config.py
|
||||||
|
|
||||||
echo "[C9Setup] Setting database uri for webapp/config.py"
|
echo "[C9Setup] Setting database uri and app location for webapp/config.py"
|
||||||
sed -i "11s/.*/\'database-uri\': \"mysql+pymysql:\/\/root@localhost\/titan\",/" ~/workspace/webapp/config.py
|
sed -i "11s/.*/\'database-uri\': \"mysql+pymysql:\/\/root@localhost\/titan\",/" ~/workspace/webapp/config.py
|
||||||
|
#'app-location': "/home/ubuntu/workspace/webapp/",
|
||||||
|
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 runned"
|
||||||
sudo chmod -R 777 *
|
sudo chmod -R 777 *
|
||||||
|
Loading…
Reference in New Issue
Block a user