You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+65-71Lines changed: 65 additions & 71 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,74 +1,15 @@
1
1
# Wolfram Language Evaluation Function
2
2
3
-
This repository contains the boilerplate code needed to create a containerized evaluation function written in Wolfram Language.
3
+
This repository contains an implementation of a Wolfram evaluation function that checks if the structure, numeric value or any other value are equal.
4
4
5
-
## Quickstart
6
5
7
-
This chapter helps you to quickly set up a new Wolfram evaluation function using this template repository.
8
-
9
-
> [!NOTE]
10
-
> After setting up the evaluation function, delete this chapter from the `README.md` file, and add your own documentation.
11
-
12
-
#### 1. Create a new repository
13
-
14
-
- In GitHub, choose `Use this template` > `Create a new repository` in the repository toolbar.
15
-
16
-
- Choose the owner, and pick a name for the new repository.
17
-
18
-
> [!IMPORTANT]
19
-
> If you want to deploy the evaluation function to Lambda Feedback, make sure to choose the Lambda Feedback organization as the owner.
20
-
21
-
- Set the visibility to `Public` or `Private`.
22
-
23
-
> [!IMPORTANT]
24
-
> If you want to use GitHub [deployment protection rules](https://docs.github.com/en/actions/deployment/targeting-different-environments/using-environments-for-deployment#deployment-protection-rules), make sure to set the visibility to `Public`.
25
-
26
-
- Click on `Create repository`.
27
-
28
-
#### 2. Clone the new repository
29
-
30
-
Clone the new repository to your local machine using the following command:
31
-
32
-
```bash
33
-
git clone <repository-url>
34
-
```
35
-
36
-
#### 3. Configure the evaluation function
37
-
38
-
When deploying to Lambda Feedback, set the evaluation function name in the `config.json` file. Read the [Deploy to Lambda Feedback](#deploy-to-lambda-feedback) section for more information.
39
-
40
-
#### 4. Develop the evaluation function
41
-
42
-
You're ready to start developing your evaluation function. Head over to the [Development](#development) section to learn more.
43
-
44
-
#### 5. Update the README
45
-
46
-
In the `README.md` file, change the title and description so it fits the purpose of your evaluation function.
47
-
48
-
Also, don't forget to delete the Quickstart chapter from the `README.md` file after you've completed these steps.
49
-
50
-
## Usage
51
-
52
-
You can run the evaluation function either using [the pre-built Docker image](#run-the-docker-image) or build and run [the binary executable](#build-and-run-the-binary).
53
-
54
-
### Run the Docker Image
55
-
56
-
The pre-built Docker image comes with [Shimmy](https://github.com/lambda-feedback/shimmy) installed.
57
-
58
-
> [!TIP]
59
-
> Shimmy is a small application that listens for incoming HTTP requests, validates the incoming data and forwards it to the underlying evaluation function. Learn more about Shimmy in the [Documentation](https://github.com/lambda-feedback/shimmy).
60
-
61
-
The pre-built Docker image is available on the GitHub Container Registry. You can run the image using the following command:
62
-
63
-
```bash
64
-
docker run -p 8080:8080 ghcr.io/lambda-feedback/evaluation-function-boilerplate-wolfram:latest
65
-
```
6
+
## Development
66
7
67
8
### Run the Script
68
9
69
10
You can choose between running the Wolfram evaluation function itself, ore using Shimmy to run the function.
70
11
71
-
**Raw Mode**
12
+
**Local**
72
13
73
14
Use the following command to run the evaluation function directly:
This section guides you through the deployment process of the evaluation function. If you want to deploy the evaluation function to Lambda Feedback, follow the steps in the [Lambda Feedback](#deploy-to-lambda-feedback) section. Otherwise, you can deploy the evaluation function to other platforms using the [Other Platforms](#deploy-to-other-platforms) section.
0 commit comments