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/getting-started.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,7 @@ On this page you will learn how to install `bee-js` and connect it with your exi
24
24
-**Linux or macOS:** A Unix based operating system is preferred. Windows is supported with some small exceptions. For a smoother experience, Windows users can use [WSL](https://learn.microsoft.com/en-us/windows/wsl/install)
25
25
-**Node.js (v18 or higher)** - [Get Node.js](https://nodejs.org/)
-**`swarm-cli`** (optional cli tool for command line node management) - [Get `swarm-cli`](https://github.com/ethersphere/swarm-cli/blob/master/README.md)
27
28
28
29
:::tip
29
30
Node.js and npm are not required if you choose to import `bee-js` directly as a script from [unpkg.com](https://unpkg.com/@ethersphere/bee-js/dist/index.browser.min.js).
@@ -86,8 +87,6 @@ under global namespace `BeeJs`:
86
87
</script>
87
88
```
88
89
89
-
90
-
91
90
## Quickstart with *create-swarm-app*
92
91
93
92
The `create-swarm-app` tool generates ready‑to‑run skeletons for `bee-js` projects in your chosen setup (CommonJS, ESM, TypeScript, or Vite + TypeScript) with a single command.
@@ -301,7 +300,13 @@ After selecting a file to upload, a reference hash to the file will be returned:
301
300
302
301

303
302
304
-
Currently our application is running on localhost, and is only accessible locally. To make this application accessible for anyone on Swarm, all we need to do create a production build of our application using `vitebuild` and then upload it to the Swarm with `swarm-cli`.
303
+
#### Using `swarm-cli` to Host on Swarm (optional)
304
+
305
+
:::tip
306
+
Learn more about [hosting websites on Swarm](http://docs.ethswarm.org/docs/develop/access-the-swarm/host-your-website) in the official bee-docs.
307
+
:::
308
+
309
+
Currently our application is running on localhost, and is only accessible locally. To make this application accessible for anyone on Swarm, all we need to do create a production build of our application using `vitebuild` and then upload it to the Swarm with `swarm-cli`.
305
310
306
311
```bash
307
312
npmrunbuild
@@ -332,8 +337,3 @@ The URL returned in the terminal can now be shared and accessed by anyone with a
As a next step, you may wish to look into [connecting your site to an ENS domain](https://docs.ethswarm.org/docs/develop/access-the-swarm/host-your-website/#enable-ens-on-your-node) so that it is accessible from a human-readable address.
338
-
339
-
You may also want to start exploring more the [example applications section (PLACEHOLDER)](#) along with the accompanying step-by-step guides to deepen your understanding of what's possible on Swarm.
0 commit comments