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.
pull/380/head
KokoTheBest 3 years ago committed by GitHub
parent 694642ccb3
commit a69ec74cfd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save