mirror of
https://github.com/aljazceru/pear-docs.git
synced 2025-12-17 14:34:19 +01:00
pearify
This commit is contained in:
@@ -16,7 +16,7 @@ pear init -y -t terminal
|
||||
npm install corestore hyperswarm b4a
|
||||
```
|
||||
|
||||
Alter the generated `multicore-writer-app/index.js` to the following
|
||||
Alter the generated `multicore-writer-app/index.js` file to the following
|
||||
|
||||
```javascript
|
||||
import Hyperswarm from 'hyperswarm'
|
||||
@@ -73,10 +73,9 @@ mkdir multicore-reader-app
|
||||
cd multicore-reader-app
|
||||
pear init -y -t terminal
|
||||
npm install corestore hyperswarm b4a
|
||||
|
||||
```
|
||||
|
||||
Alter the generated `multicore-reader-app/index.js` to the following
|
||||
Alter the generated `multicore-reader-app/index.js` file to the following
|
||||
|
||||
```javascript
|
||||
import Corestore from 'corestore'
|
||||
@@ -129,7 +128,6 @@ for (const key of otherKeys) {
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
In one terminal, open `multicore-writer-app` with `pear dev`.
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user