Help Center/ FunctionGraph/ User Guide (Kuala Lumpur Region)/ FAQs/ General FAQs/ Do I Need to Deploy My Code After Programming?
Updated on 2023-07-06 GMT+08:00

Do I Need to Deploy My Code After Programming?

After programming, you only need to package your code into a ZIP file (Java, Node.js, Python, and Go) or JAR file (Java), and upload the file to FunctionGraph for execution.

When creating a ZIP file, place the handler file under the root directory to ensure that your code can be run normally after being decompressed.

If you edit code in Go, zip the compiled file, and ensure that the name of the dynamic library file is consistent with the plugin name of the handler. For example, if the name of the dynamic library file is testplugin.so, set the handler to testplugin.Handler.