I want to deploy my emscripten file in my site


#1

Please tell me some official document to deploy(if it exists).
I think I need to copy some files(.data .wasm .js .html )to my server .
Does I have some other job to deploy?

And I want to diet *.wasm .
please tell me useful method to do this.
I used ofxopencv in my app .
so I will edit openFrameworks/addons/ofxOpenCv/addon_config.mk
Is it good way to diet?

And I do not need to copy ofxopencv file to my Server?

Last
I want to edit a html template file how to do it?

BTW
Please make emscripten category


#2

as with other platforms, you just need to copy the contents of the bin folder

if you compile for release:

emmake make Release

That’s optimized for size and it’s the smallest it can get. Editing addon_config shouldn’t have much effect since the compiler will optimize out any function that is not use

You don’t need ofxOpenCv or anything else in your server just the contents of the bin folder.

We don’t have a system in place for custom html templates but once you compile the application you can just edit the resulting html

Just created an emscripten category


#3

Thank you
By the way,I developed video share service by PHP
But I understand its too difficult .
So Next
I am looking for good video share service,and buy it.
And I want to combine it with my code.
Please tell me some good service to use with my code.
My friend tell me
https://www.youphptube.com/
or
https://clipbucket.com/
or
To learn Laravel.

Please tell me another one.