Ask coding questions

← Back to all posts
Configure run button?
CEO (8)

Just linked my repl into Github and now I can't run my code. I understand I have to configure run button but I don't know how... I'm new to this stuff. Any help is appreciated

https://repl.it/@CEO/SentimentAnalysis-2

Answered by Vandesm14 (2617) [earned 5 cycles]
View Answer
Comments
hotnewtop
Vandesm14 (2617)

Your run command should be python main.py

JTCG7684 (1)

@Vandesm14 What would the run command be for a c# file?

Vandesm14 (2617)

@JTCG7684 gcc <filename> but i might be wrong

PastoralScarf12 (1)

@Vandesm14 can you do run command for every code version because i want to run bash

Vandesm14 (2617)

@PastoralScarf12 You can just look up the run commands online since repl.it doesn't use anything special.

PastoralScarf12 (1)

what do i look up sorry im new at this
@Vandesm14

Vandesm14 (2617)

@PastoralScarf12 Just look up it verbatim: "python run command" or "nodejs run command"

What languages were you looking to run?

PastoralScarf12 (1)

html or python but mostly html
@Vandesm14

Vandesm14 (2617)

@PastoralScarf12 There is no easy way to set up a static html server in repl.it without running a nodejs instance. But for Python, you can use python main.py

Vandesm14 (2617)

@PastoralScarf12 Please mark my comment as the answer if I resolved your issue 👍

Vandesm14 (2617)

@PastoralScarf12 I can do it for you.
But for future reference:

PastoralScarf12 (1)

@Vandesm14 thanks, i checked out your lowchat thing too, i think you should show how to get admin on it.

Vandesm14 (2617)

@PastoralScarf12 I will get true admin on it later on

PastoralScarf12 (1)

@Vandesm14 oh okay, because i figured out a way but it gives everyone admin, i think there should be a code that generates in the console and there is a place where you enter it and when you enter it you have admin

amasad (3262)

@CEO just add python NLTK.py to the run field in your .replit file.

Here I have it running for you: https://repl.it/@amasad/SentimentAnalysis-2

You can just fork it

Munchkin69 (0)

whats the run command for Bash?