Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adityaoberai/dlltest-appwritefunction
https://github.com/adityaoberai/dlltest-appwritefunction
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/adityaoberai/dlltest-appwritefunction
- Owner: adityaoberai
- Created: 2023-06-20T08:51:13.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-06-20T08:56:45.000Z (over 1 year ago)
- Last Synced: 2024-10-09T03:41:26.803Z (about 1 month ago)
- Language: C#
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DllTest
Welcome to the documentation of this function 👋 We strongly recommend keeping this file in sync with your function's logic to make sure anyone can easily understand your function in the future. If you don't need documentation, you can remove this file.
## 🤖 Documentation
Simple function similar to typical "hello world" example, but instead, we return a simple JSON that tells everyone how awesome developers are.
_Example input:_
This function expects no input
_Example output:_
```json
{
"areDevelopersAwesome": true
}
```## 📝 Environment Variables
This cloud function does not need any environment variables by default.
## 🚀 Deployment
There are two ways of deploying the Appwrite function, both having the same results, but each using a different process. We highly recommend using CLI deployment to achieve the best experience.
### Using CLI
Make sure you have [Appwrite CLI](https://appwrite.io/docs/command-line#installation) installed, and you have successfully logged into your Appwrite server. To make sure Appwrite CLI is ready, you can use the command `appwrite client --debug` and it should respond with green text `✓ Success`.
Make sure you are in the same folder as your `appwrite.json` file and run `appwrite deploy function` to deploy your function. You will be prompted to select which functions you want to deploy.
### Manual using tar.gz
Manual deployment has no requirements and uses Appwrite Console to deploy the tag. First, enter the folder of your function. Then, create a tarball of the whole folder and gzip it. After creating `.tar.gz` file, visit Appwrite Console, click on the `Deploy Tag` button and switch to the `Manual` tab. There, set the `entrypoint` to `src/Index.cs`, and upload the file we just generated.