Skip to content
Sign upLog in
← Back to Community

What is the .replit run command to have repl preview the index.html file (imported from GitHub)?

Profile icon
MrPauls

I am relatively new at this. Experimenting with importing my lesson from my GitHub repository.

I have imported my GitHub repo, which contains an index.html file, some other linked .html files and a myscript.js file.

I am asked by repl to configure the run button. I want the run button to preview the index.html file, but I don't know the proper command to launch the index.html file.

What do I put in the .replit file
language = "html"
run = "????"

Reference-> https://docs.repl.it/repls/dot-replit

Answered by jgbernalp [earned 5 cycles]
View Answer
Voters
Profile icon
vimalverma
Profile icon
MrPauls
Profile icon
CoderBoi117
Profile icon
natasxa
Comments
hotnewtop
Profile icon
jgbernalp

As the docs said you just need to leave run empty

language="html" run=""

make sure you are opening the repl directly and not a file e.g.
Do
https://repl.it/@you/html-intro
Don't
https://repl.it/@you/html-intro#index.html

Profile icon
natasxa

same question...

Profile icon
dubalvlad
  1. Download project
  2. Create new perl
  3. Load nessary folders and files into new perl