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: src/content/docs/everycli/local-dev.mdx
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -22,13 +22,13 @@ Running the Every CLI will start a [Homestar](/homestar/what-is-homestar/) node,
22
22
#### To create a single function Homestar workflow
23
23
24
24
```shell
25
-
every dev --fn <PATH_TO_FUNCTION_FILE>
25
+
every dev <PATH_TO_FUNCTION_FILE>
26
26
```
27
27
28
28
#### To create a multi-function Homestar workflow
29
29
30
30
```shell
31
-
every dev --fn <PATH_TO_FUNCTION_FILE> --fn<PATH_TO_OTHER_FUNCTION_FILE>
31
+
every dev <PATH_TO_FUNCTION_FILE><PATH_TO_OTHER_FUNCTION_FILE>
32
32
```
33
33
34
34
## Function development loop
@@ -57,7 +57,7 @@ export function hello(name: string): string {
57
57
Start the CLI and point it to your custom TypeScript function
58
58
59
59
```shell
60
-
every cli dev --fn <PATH_TO_YOUR_FUNCTION_DIR>/hello.ts
60
+
every cli dev <PATH_TO_YOUR_FUNCTION_DIR>/hello.ts
61
61
```
62
62
63
63
</TabItem>
@@ -177,7 +177,7 @@ This command will produce a `hello.wasm` component.
177
177
Start the CLI and point it to your custom Wasm function
178
178
179
179
```shell
180
-
every cli dev --fn <PATH_TO_YOUR_FUNCTION_DIR>/hello.wasm
180
+
every cli dev <PATH_TO_YOUR_FUNCTION_DIR>/hello.wasm
181
181
```
182
182
183
183
## Setting up a tunnel
@@ -193,7 +193,7 @@ By default the [every-cli](https://github.com/everywhere-computer/every-cli) wil
193
193
If you would like to specify your own `toml` file to be used as the configuration for Homestar, you can use the `--config` argument:
194
194
195
195
```shell
196
-
every cli dev --fn <PATH_TO_YOUR_FUNCTION_DIR>/hello.wasm --config ../<YOUR_CONFIG_FILE_NAME>.toml
196
+
every cli dev <PATH_TO_YOUR_FUNCTION_DIR>/hello.wasm --config ../<YOUR_CONFIG_FILE_NAME>.toml
197
197
```
198
198
199
199
You can specify as many or as few values in your `toml` file as you like and the [every-cli](https://github.com/everywhere-computer/every-cli) will prioritize the values from your config over the default values.
Copy file name to clipboardExpand all lines: src/content/docs/quick-start.md
+8-13Lines changed: 8 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -9,17 +9,10 @@ Get introduced to the Everywhere Computer's core concepts while using the `every
9
9
npm i -g @everywhere-computer/every-cli
10
10
```
11
11
12
-
## Setup & Run a Local IPFS Node
13
-
14
-
The Everywhere Computer is both portable and durable. These two traits are made possible by [IPFS’ content addressing](https://fission.codes/blog/content-addressing-what-it-is-and-how-it-works/) and WebAssembly's ability to execute in _any_ environment — including browsers.
15
-
16
-
If you are not already running an IPFS Kubo node on your local machine:
17
-
1. Download & install the [IPFS Desktop](https://docs.ipfs.tech/install/ipfs-desktop/) client.
18
-
2. Launch the IPFS Desktop client — this will ensure an IPFS node is running on your local machine.
19
-
20
12
## Run Your First Function
21
13
22
-
Clone down our [custom TypeScript functions repo](https://github.com/everywhere-computer/custom-homestar-functions-ts). In the `src/functions` directory you'll find four *very* basic functions:
14
+
Clone down our [custom TypeScript functions repo](https://github.com/everywhere-computer/custom-homestar-functions-ts). In the `src/functions` directory you'll find four _very_ basic functions:
For additional instructions on local development with the `every cli` — including writing custom functions in TypeScript and Rust — check out [Every CLI Usage](/everycli/local-dev).
89
+
For additional instructions on local development with the `every cli` — including writing custom functions in TypeScript and Rust — check out [Every CLI Usage](/everycli/local-dev).
0 commit comments