From a69ec74cfdf17ce04af3b7301c1070a5a12ccf64 Mon Sep 17 00:00:00 2001 From: KokoTheBest <81335306+KokoTheBest@users.noreply.github.com> Date: Thu, 22 Jul 2021 11:11:08 -0400 Subject: [PATCH] Make replit install all requirements first (#378) * Make replit install all requirements first This should install all requirements from requirements.txt. It makes this a one click experience, without the user having to run `pip install -r requirements.txt` and then tap the run button. I myself had to first run that command in my repl, so I have made this change so others don't have to do the same. repl.it also runs on linux based systems, so `&&` is the correct bash syntax. * Running in Bash I applied the same change I made on onBoot to the run variable, and made the language bash as the syntax `./` and `&&` belong to bash. --- .replit | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.replit b/.replit index 33aa5ff..a02e438 100644 --- a/.replit +++ b/.replit @@ -1,3 +1,3 @@ -language = "python3" -run = "./run" -onBoot = "./run" +language = "bash" +run = "pip install -r requirements.txt && ./run" +onBoot = "pip install -r requirements.txt && ./run"