Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Github Pages #59

Open
DaBiggestBozo opened this issue Aug 5, 2024 · 7 comments
Open

Github Pages #59

DaBiggestBozo opened this issue Aug 5, 2024 · 7 comments

Comments

@DaBiggestBozo
Copy link

If i where to host from github pages what would i need?

@nbarkhina
Copy link
Owner

you can host from github pages, just create a roms folder in the "dist" folder, and then fill out the romlist.json file

@DaBiggestBozo
Copy link
Author

DaBiggestBozo commented Aug 6, 2024 via email

@nbarkhina
Copy link
Owner

nbarkhina commented Aug 6, 2024

If you are using GitHub Pages everything should just work since you're using it basically as a hosting platform. The emulator does not need any server side code (except if you're looking to do cloud saves). everything else is already built, in the dist folder the "n64wasm.wasm" and "n64wasm.js" files are the built artifacts. If you want to rebuild you can follow the instructions on the readme, basically you need to install the emscripten compiler on a Linux environment. or easier you can use GitHub Codespaces which already has a preconfigured environment in this project. But you only need to rebuild if you want to change something about the core emulator engine.

@DaBiggestBozo
Copy link
Author

DaBiggestBozo commented Aug 6, 2024 via email

@DaBiggestBozo
Copy link
Author

Anything special needed for the cloud saves?

@nbarkhina
Copy link
Owner

cloud saves won't work on GithubPages - for that you need your own hosting with the ability to run server code (like Node or PHP)

@DaBiggestBozo
Copy link
Author

DaBiggestBozo commented Nov 12, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants