forked from docs/doc-exports
Reviewed-by: Eotvos, Oliver <oliver.eotvos@t-systems.com> Co-authored-by: Chen, Junjie <chenjunjie@huawei.com> Co-committed-by: Chen, Junjie <chenjunjie@huawei.com>
22 lines
1.3 KiB
HTML
22 lines
1.3 KiB
HTML
<a name="functiongraph_03_0160"></a><a name="functiongraph_03_0160"></a>
|
|
|
|
|
|
|
|
<h1 class="topictitle1">Do I Need to Deploy My Code After Programming?</h1>
|
|
|
|
<div id="body1503016872016"><p id="functiongraph_03_0160__en-us_topic_0072043676_p8060118">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.</p>
|
|
|
|
<p id="functiongraph_03_0160__a140044fa7e2a418f8fed807f2ae2df8b">When creating a ZIP file, place the handler file under the <strong id="functiongraph_03_0160__b8991153416711">root</strong> directory to ensure that your code can be run normally after being decompressed.</p>
|
|
|
|
<p id="functiongraph_03_0160__p374418429430">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 <strong id="functiongraph_03_0160__b842352706142151">testplugin.so</strong>, set the handler to <strong id="functiongraph_03_0160__b842352706142221">testplugin.Handler</strong>.</p>
|
|
|
|
</div>
|
|
|
|
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="functiongraph_03_0110_00.html">General FAQs</a></div>
|
|
</div>
|
|
</div>
|
|
|