Skip to content

Commit

Permalink
Docs corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
tuler committed Aug 20, 2024
1 parent 4ddaa42 commit 6e3804a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion apps/docs/pages/advance-handlers.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Advance handlers
# Advance Handlers

## Overview

Expand Down
8 changes: 4 additions & 4 deletions apps/docs/pages/application.mdx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Application

A deroll `App` is responsible for the main loop of the Cartesi application.
It fetches advance requests (inputs) sent to the application, handling them to [AdvanceHandler's](./advance-handlers), and inspect requests to [InspectHandler's](./inspect-handlers).
It fetches advance requests (inputs) sent to the application, handling them to [advance handlers](./advance-handlers), and inspect requests to [inspect handlers](./inspect-handlers).

The source of these requests is usually the rollups http server that runs inside the Cartesi Machine, which fetches requests from the outside using Cartesi I/O primitives.
The source of these requests is usually the rollups HTTP server that runs inside the Cartesi Machine, which fetches requests from the outside using Cartesi I/O primitives.

You can construct an `App` that communicates with the rollups http server using the [createApp](./app/create-app) function.
You must specify the URL of the http server, which by default is set in the application Dockerfile as the environment variable `ROLLUP_HTTP_SERVER_URL=http://127.0.0.1:5004`.
You can construct an `App` that communicates with the rollups HTTP server using the [createApp](./app/create-app) function.
You must specify the URL of the HTTP server, which by default is set in the application Dockerfile as the environment variable `ROLLUP_HTTP_SERVER_URL=http://127.0.0.1:5004`.

```ts twoslash
/// <reference types="node" />
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/pages/inspect-handlers.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Inspect handlers
# Inspect Handlers

## Overview

Expand Down
2 changes: 1 addition & 1 deletion apps/docs/pages/quick-start.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Deroll is a collection of [TypeScript](https://www.typescriptlang.org) libraries

## Installation

Before start building you need to setup the Cartesi development environment:
Before you start building you need to setup the Cartesi development environment:

- Install Docker Desktop on [Mac](https://docs.docker.com/desktop/install/mac-install/), [Linux](https://docs.docker.com/desktop/install/linux-install/) or [Windows with WSL2](https://docs.docker.com/desktop/install/windows-install/).
- Install the Cartesi CLI
Expand Down

0 comments on commit 6e3804a

Please sign in to comment.