Skip to content

Commit df5fb41

Browse files
authored
Renamed Clace to OpenRun (#10056)
* Added localhost path * [clace] - Changed to use no_args handlers * Rename Clace to OpenRun
1 parent d973e2b commit df5fb41

File tree

8 files changed

+29
-29
lines changed

8 files changed

+29
-29
lines changed

frameworks/Python/clace/README.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

frameworks/Python/clace/clace.dockerfile

Lines changed: 0 additions & 11 deletions
This file was deleted.
File renamed without changes.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Introduction
2+
3+
[OpenRun](https://github.com/openrundev/openrun) is a platform for developing and deploying internal tools.
4+
5+
OpenRun is implemented in Go. OpenRun apps are written in [Starlark](https://starlark-lang.org/). Starlark is a thread-safe language with Python syntax, designed for embedding. OpenRun uses the [Starlark Go](https://github.com/google/starlark-go) implementation. Since apps are developed using a python like syntax, the benchmark is added under the Python category.
6+
7+
# Benchmarking
8+
9+
The JSON and plaintext tests are implemented. OpenRun supports SQLite database only currently, so the database tests are not implemented.
10+
11+
The Dockerfile starts the OpenRun server and creates a single app which implements the benchmark apis (app.star).
File renamed without changes.

frameworks/Python/clace/benchmark_config.json renamed to frameworks/Python/openrun/benchmark_config.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"framework": "clace",
2+
"framework": "openrun",
33
"tests": [
44
{
55
"default": {
@@ -8,13 +8,13 @@
88
"port": 8080,
99
"approach": "Realistic",
1010
"classification": "Micro",
11-
"framework": "Clace",
11+
"framework": "OpenRun",
1212
"language": "python",
1313
"flavor": "Starlark",
1414
"platform": "None",
15-
"webserver": "Clace",
15+
"webserver": "OpenRun",
1616
"os": "Linux",
17-
"display_name": "Clace",
17+
"display_name": "OpenRun",
1818
"notes": "",
1919
"versus": "None"
2020
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
FROM python:3.11
2+
WORKDIR /openrun/
3+
4+
RUN curl -L https://openrun.dev/install.sh | bash
5+
ENV OPENRUN_HOME="/root/openrun"
6+
ENV PATH="/root/openrun/bin:$PATH"
7+
8+
COPY . .
9+
10+
EXPOSE 8080
11+
CMD /openrun/run.sh

frameworks/Python/clace/run.sh renamed to frameworks/Python/openrun/run.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/sh
22
cd /root
33

4-
cat <<EOF > /root/clhome/clace.toml
4+
cat <<EOF > /root/openrun/openrun.toml
55
[logging]
66
console = false
77
file = false
@@ -20,7 +20,7 @@ cors.allow_origin = ""
2020
EOF
2121

2222

23-
clace server start &
23+
openrun server start &
2424
sleep 2
25-
clace app create --auth=none --approve /clace /
25+
openrun app create --auth=none --approve /openrun /
2626
tail -f /dev/null

0 commit comments

Comments
 (0)