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.
main
KokoTheBest 2021-07-22 11:11:08 -04:00 committed by GitHub
parent 694642ccb3
commit a69ec74cfd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -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"