Help building and hosting a small project from GitHub

Associate
Joined
20 Sep 2003
Posts
2,389
Location
Scotland
Hi Folks,

I am trying to figure out how to build a project I have created using Lovable and host it on my on web server. I have the files sitting on my GitHub repo here: https://github.com/DezUk/strobe-free-nights

The site works fine and can be demo here: https://strobe-free-nights.lovable.app/?utm_source=lovable-editor

But when I download the files from the repo and build them using these commands:
npm i
npm run build

Then upload the list folder to my web server and try accessing the site (www.theinflux.co.uk/v3), it doesn't work, can anyone help and explain what I am doing wrong?

Thanks
 
Looks like it is trying to find the .js and .css files in /assets/ but the root is already /v3/ so it should be looking under /v3/assets/, change the paths in the index.html and see if that fixes it.
Nice spor, I have updated the paths in the index.html to /v3/assets/ but now getting a Page Not Found 404, any ideas?
 
Back
Top Bottom