Mantan21 / Genshin-Impact-Wish-Simulator

Best Genshin Impact Wish Simulator Website, no need to download, 100% running on browser!
https://wishsimulator.app
MIT License
212 stars 75 forks source link

online hosting? #27

Closed salsawij closed 2 years ago

salsawij commented 2 years ago

nvermind.

salsawij commented 2 years ago

if you don't mind, how do I host this online excluding vercel? the ads are super annoying

AguzzTN54 commented 2 years ago
  1. Do you have problem with ads from this App ? You can go to /src/lib/components/utility/Iklan.svelte to remove it.
  2. For deployment, there are many adapters that you can use, see the list here 👉Svelte-Kit Community-Provided Adapter. If you're not familiar with all of that things, you don't need to change anything, then after running build command, just grab the static files from .vercel_build_output/static, you can deploy it to Github Pages, Firebase, Render, Fly, Glitch, Netlify, Surge, Cloudflare Cpanel Hosting, or whatever you can
salsawij commented 2 years ago

alright, thanks so much! by the way, how do I deploy to the github pages? I tried to but I couldn't

salsawij commented 2 years ago

so, i'm hosting a website here, right. But I'm still new with this, do you have any idea how to put the html file code and run the app? sorry for bothering.

you can check at my repo /salsawij.github.io it only shows connecting page

AguzzTN54 commented 2 years ago

I see.. It seems that the _app folder is not processed during the build process. I'll try to reproduce this issue, for now you can find other service to deploy the app since I just realize there's a problem with github pages

AguzzTN54 commented 2 years ago

So, fyi Github pages is built with Jekyll and during the build process, all files and folder with underscore (_) prefix will be ignored, to bypass it just create a new file with name .nojekyll in the root of repository.

salsawij commented 2 years ago

So, fyi Github pages is built with Jekyll and during the build process, all files and folder with underscore (_) prefix will be ignored, to bypass it just create a new file with name .nojekyll in the root of repository.

works great! thank you!!

salsawij commented 2 years ago

by the way, I have another problem here. I want to add the app as a part of my website, how do I add it? I don't quite get how to use the cname recordd and apex domain, (my website is hosted using ip address) *update: it is said that custom github domain can't be ip address

AguzzTN54 commented 2 years ago

You can't use an ip address, you need to have a domain or subdomain first . An Apex domain means the domain that you have full control of it. Maybe this post can help you

salsawij commented 2 years ago

You can't use an ip address, you need to have a domain or subdomain first . An Apex domain means the domain that you have full control of it. Maybe this post can help you

alright, thank you!

salsawij commented 2 years ago

hello, is it possible to customize this? image I want add logo/picture and other name for the screenshot share

AguzzTN54 commented 2 years ago

Yeah, it's possible, but please don't forget to give a credit to creator

salsawij commented 2 years ago

Yeah, it's possible, but please don't forget to give a credit to creator

how do I do it? I left the repository available as credit

AguzzTN54 commented 2 years ago

You can edit WishResult.svelte

salsawij commented 2 years ago

You can edit WishResult.svelte

thanks!!