Skip to content

Commit 6a4a907

Browse files
authored
fix node-backend example (#78)
* fix node-backend example * fix node-backend-bundled example
1 parent 759ed16 commit 6a4a907

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

socket-features/node-backend-bundled/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ npm i
1818
```
1919
4. Download and install Node.js for your platform. (TODO: only works on macOS at the moment)
2020
```bash
21-
get-node.sh
21+
./get-node.sh
2222
```
2323
5. Install the Socket SDK compiler following instructions [here](https://socketsupply.co/docs).
2424
6. Build and run the application with either `ssc build -r`, `npm start`, `pnpm start`, or `yarn start`.

socket-features/node-backend-bundled/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77
"start": "ssc build -r -o"
88
},
99
"dependencies": {
10-
"@socketsupply/socket-node": "0.1.0"
10+
"@socketsupply/socket-node": "~0.1.2"
1111
}
1212
}

socket-features/node-backend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77
"start": "ssc build -r -o"
88
},
99
"dependencies": {
10-
"@socketsupply/socket-node": "0.1.0"
10+
"@socketsupply/socket-node": "~0.1.2"
1111
}
1212
}

socket-features/node-backend/socket.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ flags = "-g"
3333
; A string that indicates the version of the application. It should be a semver triple like 1.2.3. Defaults to 1.0.0.
3434
version = 1.0.0
3535

36+
bundle_identifier = "com.beepboop"
37+
3638
[linux]
3739
; The command to execute to spawn the "back-end" process.
3840
cmd = "node backend.js"

0 commit comments

Comments
 (0)