Convex -> Live Website Help
Hello! I just found out about convex chef, I don't know anything about coding but some HTML and lua. I am trying to create a photography website, and i turned to chef as I could describe what I want and not have restrictions on existing website hosters
When I finished making my website, I downloaded the code files, and I need help putting these files to make a live website.
I tried asking chatgpt for help and i just got really frustrated so I will turn to the community since human knowledge and experience is better :)
28 Replies
Thanks for posting in <#1088161997662724167>.
Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets.
- Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.)
- Use search.convex.dev to search Docs, Stack, and Discord all at once.
- Additionally, you can post your questions in the Convex Community's <#1228095053885476985> channel to receive a response from AI.
- Avoid tagging staff unless specifically instructed.
Thank you!
I tried using netlify and vercel and i was just really confused and frustrated
on netlify the same error pops up in which the package.json file isnt located or whatever whatever,
im using a github repo to put my website files in, and said file is in the root folder
can you share your github code?
the repo?
yeah
https://github.com/wipeoutbusiness/eyesoft
can you see that
its private
try now
you uploaded the folder as well, you dont need to do that, you can get rid of the eyesoftwebsite folder.
but for now you can put on vercel or netflify your root being eyesoftwebsite/
them it should be able to locate your package.json file and run it.
so manually drop the folder onto vercel or netflify without github? or wdym
cuz i tried running vercel and netflify with the zip version and with the normal folder
for example if you create a new deploy on vercel
and it couldnt locate the package.json

the root directory is whatever is in this path
https://github.com/wipeoutbusiness/eyesoft
in this case its the folder "eyesoftwebsite"

so you need to put eyesoftwebsite on the root directory

or you can go the other way around and remove this top level folder as its not needed. \
just drag stuff out of this folder and commit

got it?
okay, i did that

this is in netlify
i keep trying to change the version in netlify
and i cant find the specific code that the ai is telling me to look for in the package.json file
can you print the error exactly?
it seems a mismatch between node version used in your project vs node version of the deployment
i was looking your project, you deleted all folders? you still need the convex folders and app folder

the only thing you need in root at the .json config files
youre a lifesaver
i am so grateful for you
everything works
thank you so much sir
so is this basically a 24/7 live server? like if i were to put this website link onto social media it would stay up right?
@Patolord
and also can i make it private now?
glad to know it worked!
yea the server is netlify it is building and hosting your page.
you can put it private just make sure netlify still has access to the repo.
perfect thank you so much sir