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

Can't deploy to wasmer.io #5326

Open
femto opened this issue Jan 7, 2025 · 5 comments
Open

Can't deploy to wasmer.io #5326

femto opened this issue Jan 7, 2025 · 5 comments

Comments

@femto
Copy link

femto commented Jan 7, 2025

Describe the bug

image

Steps to reproduce

While trying to deploy https://github.com/femto/snake_game_py,
select this repo in Import Git Repository, Click Continue/Deploy,
then this error in image pops up, can't deploy

@ayys
Copy link
Member

ayys commented Jan 7, 2025

Thank you so much for reporting this issue @femto! We really appreciate it.

I took a peek at your repo, and correct me if I am wrong, it looks like a pygame app to me. Sadly, we currently do not support running pygame applications as wasmer-apps.
The error you got was confusing, it should be more clear. I'll open an internal ticket for it.

P.S.: Ofc, the cool-factor of being able to run a pygame game is off the charts!

@femto
Copy link
Author

femto commented Jan 8, 2025

I want to ask what kind of app can be deployed on wasmer.io?
Like general app without special configuration?
Or only http app?
Or app with some special wasmer configuration?

@ayys
Copy link
Member

ayys commented Jan 8, 2025

I want to ask what kind of app can be deployed on wasmer.io?

the template page (https://wasmer.io/templates) has a bunch of apps you can try out. There isn't an exhaustive list of apps anywhre atm but having one is a good idea! I'll create a ticket for it!

Or only http app?

yeah, for the most part, only http apps are supported.

You don't need to have any wasmer configuration to be able to deploy your app. If the server is able to "detect" the repository as an app, it can deploy it to Wasmer Edge.
The detection is mostly via trivial logic such as, "if there is a pyproject.toml in the root directory, it is a python app".

@femto
Copy link
Author

femto commented Jan 9, 2025

What type of app can you support?
I'm building something like bolt.new, v0.dev,
where user can generate arbitrary type of app,
since I cannot predetermine what language of app users are using,
I'm interested in what kind of app can you support?

@syrusakbary
Copy link
Member

syrusakbary commented Jan 9, 2025

Hey @femto , I think we could support pygame via pygame-web.

Please check instructions on this: https://pygame-web.github.io/#all-operating-systems

If you want, we may be able to help you with a PR to your repo, so then you can deploy the repo to Wasmer.io. Let us know!


I'm interested in what kind of app can you support?

We currently support fully PHP, mostly JS and partially Python

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

3 participants