Skip to content

Commit 730ae2e

Browse files
committed
Updated README.md
1 parent d1a06d9 commit 730ae2e

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Node.php originates from my ealier [answer on Stack Overflow](http://stackoverfl
77

88
The node.php script installs an official node.js package, starts a hidden server on localhost:49999 with provided JS file and proxies all requests to it.
99

10-
h3. Warning! This is an alpha version, it is unsecure, you run it on your own risk!
10+
### Warning! This is an alpha version, it is unsecure, you run it at your own risk!
1111

1212
Requirements
1313
------------
@@ -19,18 +19,20 @@ How to run
1919

2020
Put the `node.php` file in your public_html (or similar) folder, then install node.js by browsing to: `http://example.org/node.php?install`.
2121

22-
When succeeded, you can install your node.js app by copying its folder or by using npm: `http://example.org/node.php?npm=install jt-js-sample`.
22+
When succeeded, you can install your node.js app by uploading its folder or using npm: `http://example.org/node.php?npm=install jt-js-sample`.
2323

2424
When everything goes fine, start your node.js instance by going to: `http://example.org/node.php?start=node_modules/jt-js-sample/index.js`.
2525

26-
Finally, you can request your app by browsing to: `http://example.org/node.php?path=optional/request/path`. This will return a response from the running node.js app at `http://127.0.0.1:49999/optional/request/path`.
26+
Now you can request your app by browsing to: `http://example.org/node.php?path=optional/request/path`. This will return a response from the running node.js app at `http://127.0.0.1:49999/optional/request/path`.
27+
28+
Finally, stop your node.js server by loading: `http://example.org/node.php?stop`.
2729

2830
Commands
2931
--------
3032

3133
`node.php[?path=some/path]` - serves an already running node.js app with an optional request path (no leading slash)
3234

33-
The following commands require the `ADMIN_MODE` on:
35+
The following commands require the `ADMIN_MODE` set to `true` (line 13 of `node.php`):
3436

3537
`node.php?install` - downloads and extracts node.js into the `node` folder.
3638

@@ -52,6 +54,4 @@ License
5254

5355
Node.js is developed by Joyent et al. under the MIT License.
5456

55-
Node.php is developed by Jerzy Głowacki under the MIT License.
56-
57-
*[LAMP]: Linux, Apache, MySQL, PHP
57+
Node.php is developed by Jerzy Głowacki under the MIT License.

0 commit comments

Comments
 (0)