H! I have created a website, where all the files are of the type CSS, js, pug, and when I want to publish the site, I need to give an index.html file from which the site will start. The problem is that I do not have such a file. Does anyone know how to deal with such a problem? And in addition, I started the site by running it in localhost: 3000 does anyone know how to start it now so that it will work when I upload it. Thanks in advance to all the helpers.
Your mention of localhost:3000
implies that you have written a website which depends on Node.js for server-side code (at a minimum this will involve the translation of your Pug templates into HTML on demand).
There are two general approaches you can take to solve this problem:
Obviously if you have your server-side code processing user input (such as form submissions) option 2 will not work.