Skip to content
← Back to Community
configure run button??
Profile icon
SanicTeh

i want to use a GitHub import, but idk how to configure the run button

Voters
Profile icon
Sayum24
Profile icon
SanicTeh
Comments
hotnewtop
Profile icon
AdCharity

When you press "run with repl" or "import repo", you will be given a repl project. You can either manually configure this run feature yourself or do the very lazy way.

Usually, repl will auto detect the language. If not, simply type in the language yourself (under the lang="manually write this language in repl file")
Depending on the language, you may not need to configure the repl "run" thing. If it's node.js and there is an index.js present, you can literally delete the replit file once the language is set (lazy way). On the other hand, some repos don't have an index.js and instead have somewhere in the documentation npm run dev or a host of weird commands. This is where the "run" thing comes in. Basically copy and paste all of those npm things, and if there happens to be like 10, then separate each one with &&.

Edit: my information may or may not be accurate

Profile icon
SanicTeh

@AdCharity thank you so muchh, :D

Profile icon
SagarChaudhary2

I am unable to repl javascript. it is showing node.js on the console

Profile icon
SixBeeps

Repl.it should have added a ".replit" file to your repo. In there, you can change the run parameter to do different things (i.e. run a customized bash command)

Profile icon
[deleted]

Can you show us the code you have to run