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: docs/documentation/app/builder/overview/page.mdx
+44Lines changed: 44 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,3 +4,47 @@ import Github from '@/components/github';
4
4
5
5
This section provides detailed documentation for working with the builder.
6
6
<br />
7
+
8
+
# What is Wasmo Builder ?
9
+
10
+
Wasmo Builder is an all-in-one builder for creating, editing and building **small** and **optimized** WASM binaries.
11
+
12
+
# Key Features
13
+
14
+
-`Variety of languages`: Write plugins in your favorite language, Javascript, Typescript, Rust, Golang or Open Policy Agent.
15
+
-`Build in one click`: Click the hammer and start using your wasm in seconds
16
+
-`Fast starter`: Deploy the builder in-memory
17
+
18
+
# Start your first builder
19
+
20
+
## Prerequisites
21
+
22
+
-`Docker`: A Docker-enabled system with proper Docker access
23
+
24
+
Choose a path to install Wasmo Builder:
25
+
-`With a database`: Use a database to store generated Wasm binaries. Can use the Builder API for editing plugins.
26
+
-`Without a database (in-memory)`: Store generated Wasm binaries on the file system. In this mode, the Builder API is unavailable but the CLI keeps running.
27
+
28
+
Run the following command in your terminal to start your builder using a S3 storage:
29
+
30
+
```
31
+
docker network create wasmo-network
32
+
docker run --name s3Server \
33
+
-p 8000:8000 \
34
+
-e SCALITY_ACCESS_KEY_ID=access_key \
35
+
-e SCALITY_SECRET_ACCESS_KEY=secret \
36
+
--net wasmo-network scality/s3server
37
+
docker run -d --net wasmo-network \
38
+
--name wasmo \
39
+
-p 5001:5001 \
40
+
-e "AUTH_MODE=NO_AUTH" \
41
+
-e "AWS_ACCESS_KEY_ID=access_key" \
42
+
-e "AWS_SECRET_ACCESS_KEY=secret" \
43
+
-e "S3_FORCE_PATH_STYLE=true" \
44
+
-e "S3_ENDPOINT=http://localhost:8000" \
45
+
-e "S3_BUCKET=wasmo" \
46
+
-e "STORAGE=DOCKER_S3" \
47
+
maif/wasmo
48
+
```
49
+
50
+
If all goes well, Wasmo should now be serving your builder on [http://localhost:5001/](http://localhost:5001/)
0 commit comments