Skip to content

Commit 211077e

Browse files
authored
Merge pull request #138 from code0-tech/feat/initial-docs
Initial docs
2 parents 0335b87 + 72cab10 commit 211077e

14 files changed

Lines changed: 308 additions & 6 deletions

app/(home)/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export default function HomePage() {
22
return (
33
<script dangerouslySetInnerHTML={{__html:
4-
`window.location.replace("./code0/${process.env.NEXT_PUBLIC_ARTIFACT_VIEWER === "true" ? "index.html" : ""}")`
4+
`window.location.replace("./general/introduction/${process.env.NEXT_PUBLIC_ARTIFACT_VIEWER === "true" ? "index.html" : ""}")`
55
}}/>
66
);
77
}

content/general/changelog.md

Lines changed: 79 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,81 @@
11
---
22
title: Changelog
3-
---
3+
icon: IconRestore
4+
---
5+
6+
All notable changes to the CodeZero software will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
7+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
8+
9+
## [Unreleased]
10+
11+
### Added
12+
13+
- Support for OpenTelemetry within the frontend application of sculptor capturing logs, traces, metrics and errors.
14+
- New textarea component inside UI library of pictor.
15+
- Variables and their corresponding Node are now highlighted inside the flow editor.
16+
- New sidebar within the frontend application of sculptor.
17+
- Runtime usage calculation on runtime.
18+
- Support for bigger number values.
19+
- New remove digits and has digits functions.
20+
- A flow can be disabled to be updated to the runtime. We've implemented a reasoning field to explain why the flow is disabled.
21+
- Delete user mutation for administrators.
22+
- Implement flow validation on backend side.
23+
- License management in cloud.
24+
- Redirect option on login or registration within cloud version.
25+
- Runtime support for actions build with our Action SDK.
26+
27+
### Changed
28+
29+
- Switched to TypeScript for RuntimeFunction, Function, Flow and DataType definitions. This generelly improves type safety and increased reliability of suggestion and validation.
30+
- Runtime status is now more accurate and has more details and also exposes features installed on the runtime.
31+
- Moving dashboard components from UI library named pictor to frontend application named sculptor.
32+
- New DataTypeType input based on custom type language.
33+
34+
### Fixed
35+
36+
- Correct naming of variables inside suggestion.
37+
- Uncaught TypeError: can't access property "push", n.settings. nodes are undefined
38+
- The flow creation menu shows even though there is no flow type available.
39+
- Role creation page back link is broken.
40+
- Cron flow definition is wrong.
41+
- Number is always displayed with a decimal point. It not depends on the value of the number.
42+
- Prevent role deletion if no member has a different admin role.
43+
- Change foreign key from namespace_projects(primary_runtime_id) to runtimes(id) from cascade to restrict.
44+
- Ensure a project always has a primary runtime if it contains flows.
45+
- std::number::math Panics when second number is bigger than first.
46+
- REST adapter returns ProtoJson not JSON.
47+
- Wrong parameter description for HTTP Status code.
48+
- Project slug input validation is missing.
49+
- NodeParameter is possible to be an empty array. Fallback to FunctionParameterDefinition.
50+
- Input fields error when not filled.
51+
- Create new project page go back link is broken.
52+
- Go back button link is broken on members add page.
53+
- Sagittarius version is a placeholder.
54+
- Create role mutation and screen are missing and not linked.
55+
- Remove old project tab fragmental component under [namespaceId].
56+
- ReferenceValue missing fields during flow update.
57+
- Type OBJECT and Function std::object::set have wrong signature.
58+
- Validation for trigger doesn't exist.
59+
60+
## [[0.0.0-canary-2356067148-c06e576791513b10dbcb10aa3b0420b87178a205]](https://github.com/code0-tech/codezero/releases/tag/0.0.0-canary-2356067148-c06e576791513b10dbcb10aa3b0420b87178a205) - 2026-02-28
61+
62+
### Added
63+
64+
- Create, delete and update runtimes
65+
- Create and delete flows
66+
- Create, delete and update organizations
67+
- Create, delete and update projects
68+
- Invite and remove members
69+
- Create, delete and update roles and permissions
70+
- Assign and remove roles on members
71+
- Assign and remove runtimes on projects
72+
- Update application restrictions (Organizations creation, User registration, Display admin status)
73+
- Set legal pages
74+
- Add next nodes inside flows
75+
- Update parameters of nodes
76+
- Update flow settings
77+
- Execute flows over runtime
78+
- Use variables and nested nodes in flows
79+
- Support for REST flows
80+
- Login, register and logout
81+
- Forgot password, reset password and email verification

content/general/install.mdx

Lines changed: 168 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,168 @@
1+
---
2+
title: Installation
3+
icon: IconDownload
4+
---
5+
6+
7+
8+
import {Step, Steps} from 'fumadocs-ui/components/steps';
9+
10+
This guide will walk you through the deployment of CodeZero using Docker. Currently, CodeZero is in active development,
11+
and we are focused on building our community of early adopters. Follow these steps to set up your environment and
12+
connect your first runtime.
13+
14+
## Prerequisites
15+
16+
Before beginning, ensure you have the following installed on your system:
17+
18+
- Git
19+
- Docker and Docker Compose
20+
21+
<Steps>
22+
23+
<Step>
24+
25+
## Clone the latest release
26+
27+
To ensure stability, we recommend using the latest release. Run the following command to clone the
28+
repository:
29+
30+
Get the newest release version from the [CodeZero GitHub releases page](https://github.com/code0-tech/codezero/releases)
31+
32+
```bash
33+
git clone --branch <version> https://github.com/code0-tech/codezero.git
34+
```
35+
36+
Navigate to the deployment directory:
37+
38+
```bash
39+
cd codezero/docker-compose/
40+
```
41+
42+
</Step>
43+
<Step>
44+
## Configure environment variables
45+
46+
CodeZero uses an `.env` file to manage initial credentials and system settings. Create or edit the file:
47+
48+
```bash
49+
nano .env
50+
```
51+
52+
### The .env template
53+
54+
Ensure your `.env` file contains the following variables. Pay close attention to the Root Credentials and the
55+
Image
56+
Edition.
57+
58+
```bash
59+
# IDE config
60+
HOSTNAME=localhost
61+
HTTP_PORT=80
62+
HTTPS_PORT=443
63+
SSL_ENABLED=false
64+
SSL_CERT_FILE= # must be located in ./certs, defaults to "<hostname>.pem"
65+
SSL_KEY_FILE= # must be located in ./certs, defaults to "<hostname>.key"
66+
67+
INITIAL_ROOT_PASSWORD=root
68+
INITIAL_ROOT_MAIL=root@code0.tech
69+
70+
# Runtime config
71+
AQUILA_SAGITTARIUS_URL=http://nginx:80
72+
AQUILA_SAGITTARIUS_TOKEN=
73+
DRACO_REST_PORT=8084
74+
75+
# Active services
76+
COMPOSE_PROFILES=ide,runtime
77+
78+
# Image config
79+
IMAGE_REGISTRY=registry.gitlab.com/code0-tech/packages
80+
IMAGE_TAG= # version
81+
IMAGE_EDITION= # ce or ee
82+
83+
# Internal config options
84+
SAGITTARIUS_RAILS_HOST=sagittarius-rails-web
85+
SAGITTARIUS_RAILS_PORT=3000
86+
SAGITTARIUS_GRPC_HOST=sagittarius-grpc
87+
SAGITTARIUS_GRPC_PORT=50051
88+
SAGITTARIUS_LOG_LEVEL=info
89+
SCULPTOR_HOST=sculptor
90+
SCULPTOR_PORT=3000
91+
POSTGRES_HOST=postgres
92+
POSTGRES_PORT=5432
93+
POSTGRES_DB=sagittarius_production
94+
POSTGRES_USER=sagittarius
95+
POSTGRES_PASSWORD=sagittarius
96+
```
97+
98+
### Key parameters:
99+
100+
- `INITIAL_ROOT_MAIL`: The email address for the primary administrator.
101+
- `INITIAL_ROOT_PASSWORD`: The secure password for your first login.
102+
- `IMAGE_EDITION`: Set this to ce for the Community Edition or ee for the Enterprise Edition. This
103+
determines which Docker images will be pulled.
104+
105+
</Step>
106+
<Step>
107+
108+
## Initial deployment
109+
110+
Start the CodeZero containers in detached mode:
111+
112+
```bash
113+
docker compose up -d
114+
```
115+
116+
Once the containers are running, you can access the CodeZero Dashboard via your browser (typically
117+
at http://localhost:3000).
118+
119+
</Step>
120+
<Step>
121+
122+
## Connecting the runtime
123+
124+
A "Runtime" is the engine that executes your flows. To activate it, you must generate a unique token within the
125+
dashboard and link it to your configuration.
126+
127+
### Login
128+
129+
Log in to the dashboard using the `INITIAL_ROOT_MAIL` and `INITIAL_ROOT_PASSWORD` you defined in your `.env`
130+
file.
131+
132+
![CodeZero Thumbnail](../../public/CodeZero_Login.png)
133+
134+
### Create organization or navigate to personal workspace
135+
136+
![CodeZero Thumbnail](../../public/CodeZero_Install_Overview.png)
137+
138+
### Navigate to runtimes
139+
140+
![CodeZero Thumbnail](../../public/CodeZero_Install_Click-on-Runtime.png)
141+
142+
### Create new runtime
143+
144+
![CodeZero Thumbnail](../../public/CodeZero_Install_Create-Runtime.png)
145+
146+
### Copy the generated token
147+
148+
![CodeZero Thumbnail](../../public/CodeZero_Install_Copy-Token.png)
149+
150+
### Update your `.env` file
151+
152+
Update your .env file with the copied token at `AQUILA_SAGITTARIUS_TOKEN` and save the file.
153+
154+
</Step>
155+
<Step>
156+
157+
## Finalize the setup
158+
159+
For the changes to take effect and for the runtime to authenticate correctly, restart the containers:
160+
161+
```bash
162+
docker compose restart
163+
```
164+
</Step>
165+
166+
</Steps>
167+
168+
Your CodeZero instance is now fully configured and ready to manage your enterprise flows and organizational structures.

content/general/introduction.md

Lines changed: 44 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,46 @@
11
---
22
title: Introduction
3-
---
3+
icon: IconRocket
4+
---
5+
6+
CodeZero is a versatile open-source platform designed to streamline how businesses manage operations, automate complex
7+
processes, and organize professional ecosystems. In a corporate world where data and tasks are often scattered across
8+
various tools, CodeZero provides a centralized architecture to bring your projects, teams, and business logic into one
9+
unified workspace.
10+
11+
![CodeZero Thumbnail](../../public/CodeZero_Banner.png)
12+
13+
## Revolutionizing Business Process Management
14+
15+
At its core, CodeZero is built around the concept of Flows. A Flow is a visual representation of a business process,
16+
where individual steps are connected to automate logic, data handling, and integrations. For enterprise users, this
17+
means the ability to transform manual, time-consuming procedures into efficient, automated systems that run reliably in
18+
the background.
19+
20+
## Enterprise Grade Capabilities
21+
22+
CodeZero is engineered to meet the demands of modern B2B environments through several key pillars:
23+
24+
- Organizational Hierarchy: Manage complex structures with ease. You can define Organizations, create specific Projects,
25+
and manage Members with granular precision.
26+
27+
- Role Based Access Control: Security and compliance are central to any enterprise. CodeZero allows you to define
28+
specific Roles and permissions, ensuring that every team member has exactly the access they need and nothing more.
29+
30+
- Scalable Infrastructure: The platform is designed to grow alongside your company. Whether you are managing a single
31+
department or an international corporation, the modular system adapts to your scale.
32+
33+
- Hybrid Deployment & Data Sovereignty: For companies with strict data privacy requirements, CodeZero offers unique
34+
flexibility. You can utilize our interface while keeping your actual data processing on your own local infrastructure,
35+
maintaining full control over your information.
36+
37+
## The Future of Collaborative Automation
38+
39+
CodeZero bridges the gap between high-level organizational management and granular task automation. It acts as the
40+
digital backbone for your company, allowing teams to collaborate on complex projects while the system handles the
41+
repetitive "heavy lifting."
42+
43+
We are currently focused on growing a professional community of early adopters and contributors. This is an opportunity
44+
for businesses to help shape a tool that prioritizes modularity, transparency, and efficiency. By integrating CodeZero
45+
into your workflow, you are not just adopting a tool; you are joining a movement toward more open, adaptable, and
46+
powerful business management.

content/general/meta.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
{
22
"title": "General",
3-
"root": true
3+
"root": true,
4+
"pages": [
5+
"introduction",
6+
"install",
7+
"changelog",
8+
"tutorials",
9+
"troubleshooting"
10+
]
411
}

content/general/troubleshooting.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
---
22
title: Troubleshooting
3-
---
3+
icon: IconExclamationCircle
4+
---
5+
6+
## Under construction

content/general/tutorials.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
---
22
title: Tutorials
3-
---
3+
icon: IconBook2
4+
---
5+
6+
## Under construction

public/CodeZero_Banner.png

980 KB
Loading
387 KB
Loading
276 KB
Loading

0 commit comments

Comments
 (0)