Ask coding questions

← Back to all posts
What is the .replit run command to have repl preview the index.html file (imported from GitHub)?
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
vimalverma
MrPauls
CoderBoi117
natasxa
Comments
hotnewtop
jgbernalp

As the docs said you just need to leave run empty

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

natasxa

same question...

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