nodejs_on_metaarray
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
nodejs_on_metaarray [2022/01/21 01:32] – fix typo, added hype! peteyboy | nodejs_on_metaarray [2023/01/26 00:16] (current) – fix format of project folder peteyboy | ||
---|---|---|---|
Line 4: | Line 4: | ||
You can try Node.js by using your [[meta_port_allocation|Port Allocation]] on the [[metaarray|The MetaArray]] to run your own Node.js server. What follows is a bare-bones ' | You can try Node.js by using your [[meta_port_allocation|Port Allocation]] on the [[metaarray|The MetaArray]] to run your own Node.js server. What follows is a bare-bones ' | ||
- | - go to a project folder in your user folder, say <tt>~/ | + | - go to a project folder in your user folder, say '' |
- use your favorite editor to open a new file called '' | - use your favorite editor to open a new file called '' | ||
*paste the following code into the file: < | *paste the following code into the file: < | ||
Line 23: | Line 23: | ||
- run the server with '' | - run the server with '' | ||
- OMG that was so easy, right? Check it out with a browser pointed to your metaarray website but at your UID port, for example '' | - OMG that was so easy, right? Check it out with a browser pointed to your metaarray website but at your UID port, for example '' | ||
- | * it should look like {{: | + | * it should look like the image to the right {{ : |
- quit the server with '' | - quit the server with '' | ||
- knock yourself out doing more cool stuff with javascript on the server! | - knock yourself out doing more cool stuff with javascript on the server! |
nodejs_on_metaarray.1642728743.txt.gz · Last modified: 2022/01/21 01:32 by peteyboy