Skip to content
This repository was archived by the owner on Sep 29, 2023. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions app/views/docs/functions.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ $runtimes = $this->getParam('runtimes', []);
});
};</code></pre>
</div>
<b>Installing Dependencies</b>
<p><b>Installing Dependencies</b></p>
<p>Include a <b>package.json</b> along with your function, and Appwrite handles the rest! The best practice is to make sure <b>node_modules</b> folder is <b>not</b> part of your tarball.</p>
</div>
</li>
Expand Down Expand Up @@ -94,7 +94,7 @@ return function ($req, $res) {
]);
};</code></pre>
</div>
<b>Installing Dependencies</b>
<p><b>Installing Dependencies</b></p>
<p>Include a <b>composer.json</b> file in your function, make sure to require autoload.php from vendor folder, and Appwrite will handle the rest!. The best practice is to make sure <b>vendor</b> directory is <b>not</b> part of your tarball. </p>
</div>
</li>
Expand Down Expand Up @@ -124,7 +124,7 @@ def main(req, res):
'trigger': trigger,
})</code></pre>
</div>
<b>Installing Dependencies</b>
<p><b>Installing Dependencies</b></p>
<p>Include a <b>requirements.txt</b> file in your function, Appwrite will handle the rest!</p>
</div>
</li>
Expand Down Expand Up @@ -154,7 +154,7 @@ def main(req, res):
})
end</code></pre>
</div>
<b>Installing Dependencies</b>
<p><b>Installing Dependencies</b></p>
<p>Include a <b>Gemfile</b> in your function, Appwrite handles the rest!</p>
</div>
</li>
Expand Down Expand Up @@ -184,7 +184,7 @@ end</code></pre>
});
};</code></pre>
</div>
<b>Installing Dependencies</b>
<p><b>Installing Dependencies</b></p>
<p>No special steps are required for Deno, Appwrite handles everything!</p>
</div>
</li>
Expand Down Expand Up @@ -217,7 +217,7 @@ Future &lt;void&gt; start(final req, final res) async {
});
}</code></pre>
</div>
<b>Installing Dependencies</b>
<p><b>Installing Dependencies</b></p>
<p>Include a <b>pubspec.yaml</b> file with your function, Appwrite handles the rest!</p>
</div>
</li>
Expand Down Expand Up @@ -247,7 +247,7 @@ Future &lt;void&gt; start(final req, final res) async {
}</code></pre>
</div>
<p>With Swift, your <b>entrypoint</b> can be empty since Appwrite automatically infers it from the location of your <b>main()</b> function. Just ensure that your cloud function has a <b>single declaration of main()</b> across your source files.</p>
<b>Installing Dependencies</b>
<p><b>Installing Dependencies</b></p>
<p>Include a <b>Package.swift</b> file with your function, Appwrite handles the rest!</p>
</div>
</li>
Expand Down