wipeout
wipeout3d ago

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
Convex Bot
Convex Bot3d ago
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!
wipeout
wipeoutOP3d ago
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
Patolord
Patolord3d ago
can you share your github code?
wipeout
wipeoutOP3d ago
the repo?
Patolord
Patolord3d ago
yeah
Patolord
Patolord3d ago
its private
wipeout
wipeoutOP3d ago
try now
Patolord
Patolord3d ago
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.
wipeout
wipeoutOP3d ago
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
Patolord
Patolord3d ago
for example if you create a new deploy on vercel
wipeout
wipeoutOP3d ago
and it couldnt locate the package.json
Patolord
Patolord3d ago
No description
Patolord
Patolord3d ago
the root directory is whatever is in this path https://github.com/wipeoutbusiness/eyesoft in this case its the folder "eyesoftwebsite"
No description
Patolord
Patolord3d ago
so you need to put eyesoftwebsite on the root directory
Patolord
Patolord3d ago
No description
Patolord
Patolord3d ago
or you can go the other way around and remove this top level folder as its not needed. \
Patolord
Patolord3d ago
just drag stuff out of this folder and commit
No description
Patolord
Patolord3d ago
got it?
wipeout
wipeoutOP2d ago
okay, i did that
wipeout
wipeoutOP2d ago
No description
wipeout
wipeoutOP2d ago
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
Patolord
Patolord2d ago
can you print the error exactly? it seems a mismatch between node version used in your project vs node version of the deployment
Patolord
Patolord2d ago
i was looking your project, you deleted all folders? you still need the convex folders and app folder
No description
Patolord
Patolord2d ago
the only thing you need in root at the .json config files
wipeout
wipeoutOP2d ago
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?
Patolord
Patolord2d ago
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.
wipeout
wipeoutOP2d ago
perfect thank you so much sir

Did you find this page helpful?