Ask coding questions

← Back to all posts
how to run a repo from github?
yoexpertz (2)

i tried running a repo from github, but i need to customize the run command. how do i do this? i get this error when i try running it without the run command; "'run' isn't configured in the .replit file
try adding 'run = "echo hello word"' to .replit" I added run = "echo hello word" but it just prints "echo hello word"

Answered by HackermonDev (2020) [earned 5 cycles]
View Answer
HackermonDev (2020)

To run the repo you need a run command. For example you run a node project with “node .”

yoexpertz (2)

@PDanielY what about a python project?

HackermonDev (2020)

@yoexpertz “python <main file name>

HackermonDev (2020)

@yoexpertz mark my comment as answered