services:nodeserve
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
services:nodeserve [2024/08/13 11:39] – jas | services:nodeserve [2024/08/13 11:48] (current) – [Nodeserve] jas | ||
---|---|---|---|
Line 13: | Line 13: | ||
% mkdir ~/ | % mkdir ~/ | ||
- | 3. | + | 3. |
- | 4. Develop your Node.js | + | % cd ~/ |
+ | % npm init -y | ||
+ | |||
+ | 4. Develop your app. You can use **npm install** to install whatever packages you need. | ||
5. Test your app on any EECS machine. | 5. Test your app on any EECS machine. | ||
Line 63: | Line 66: | ||
7. Visit your app on the web by visiting: | 7. Visit your app on the web by visiting: | ||
- | The web server will look up the port number allocated to your app, and set the port number in the PORT environment variable. | + | The web server will look up the port number allocated to your app, and set the port number in the PORT environment variable. |
A few additional notes: | A few additional notes: |
services/nodeserve.1723563564.txt.gz · Last modified: 2024/08/13 11:39 by jas