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

Section for deployment #2376

Closed
2 of 3 tasks
Tracked by #2312
allan2 opened this issue Jan 17, 2022 · 2 comments · Fixed by #2569
Closed
2 of 3 tasks
Tracked by #2312

Section for deployment #2376

allan2 opened this issue Jan 17, 2022 · 2 comments · Fixed by #2569

Comments

@allan2
Copy link
Contributor

allan2 commented Jan 17, 2022

It would be nice if there was a section for deployment.

It would mention some things like:

  • check that 'application/wasm' is set (I had to add the mimetype application/wasm to Nginx)
  • advise against using trunk serve --release in prod
  • tell you to send to index.html in the webserver so that Yew routes work

I'm sure there are other things that I've missed :)

Questionaire (Optional)

  • I'd like to write this documentation
  • I'd like to write this documentation but I'm not sure what's needed
  • I don't have time to add this right now, but maybe later
@allan2
Copy link
Contributor Author

allan2 commented Jan 17, 2022

#2312

@r3k2
Copy link

r3k2 commented Jul 25, 2023

@allan2 I am interested in this, because I been 3 days looking for example nginx configurations for yew and can't find anything so because I know nginx I was able to get it up and running but now websockets are not running and is not talking to my api backend on localhost....... O_O very annoying that there is nothing like this in an example folder or the documentation

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

Successfully merging a pull request may close this issue.

2 participants