<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://classes.engineering.wustl.edu/cse256a/index.php?action=history&amp;feed=atom&amp;title=Node_Setup</id>
	<title>Node Setup - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://classes.engineering.wustl.edu/cse256a/index.php?action=history&amp;feed=atom&amp;title=Node_Setup"/>
	<link rel="alternate" type="text/html" href="https://classes.engineering.wustl.edu/cse256a/index.php?title=Node_Setup&amp;action=history"/>
	<updated>2026-11-18T07:46:15Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.4</generator>
	<entry>
		<id>https://classes.engineering.wustl.edu/cse256a/index.php?title=Node_Setup&amp;diff=182&amp;oldid=prev</id>
		<title>Riley.McCuen at 04:14, 14 January 2021</title>
		<link rel="alternate" type="text/html" href="https://classes.engineering.wustl.edu/cse256a/index.php?title=Node_Setup&amp;diff=182&amp;oldid=prev"/>
		<updated>2021-01-14T04:14:43Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 04:14, 14 January 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l7&quot; &gt;Line 7:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 7:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;## Once here, run this command that installs all needed dependences:  &lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;## Once here, run this command that installs all needed dependences:  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt; npm install &amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt; npm install &amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;#&lt;/del&gt;# At this point, all necessary dependencies have been installed, but as more projects are distributed throughout the semester, the same steps need to be followed to install dependencies for new projects  &lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# At this point, all necessary dependencies have been installed, but as more projects are distributed throughout the semester, the same steps need to be followed to install dependencies for new projects  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Now that all dependencies have been installed you should be able to run various other scripts. The main one you will be using is:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Now that all dependencies have been installed you should be able to run various other scripts. The main one you will be using is:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;npm run dev&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;npm run dev&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Riley.McCuen</name></author>
		
	</entry>
	<entry>
		<id>https://classes.engineering.wustl.edu/cse256a/index.php?title=Node_Setup&amp;diff=181&amp;oldid=prev</id>
		<title>Riley.McCuen at 04:13, 14 January 2021</title>
		<link rel="alternate" type="text/html" href="https://classes.engineering.wustl.edu/cse256a/index.php?title=Node_Setup&amp;diff=181&amp;oldid=prev"/>
		<updated>2021-01-14T04:13:58Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 04:13, 14 January 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l4&quot; &gt;Line 4:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 4:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;### Run the command 'npm -v', which displays the npm version, and you should get output similar to 6.13.4. npm stands for Node Package Manager and is used to manage dependencies for your projects.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;### Run the command 'npm -v', which displays the npm version, and you should get output similar to 6.13.4. npm stands for Node Package Manager and is used to manage dependencies for your projects.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# At this point your machine has Node.js and the Node Package Manager (npm). You will use these to install the necessary dependencies as well as transpile and bundle TypeScript files into JavaScript files that will be used to facilitate dynamic HTML and data collection. In order to run TypeScript in the browser, it must be transpiled to JavaScript; and to be efficient it must also be bundled into a single file. To facilitate this, a popular tool called Browserify will be used. To make sure that Browserify runs smoothly, all dependencies must be installed. To install all necessary dependencies:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# At this point your machine has Node.js and the Node Package Manager (npm). You will use these to install the necessary dependencies as well as transpile and bundle TypeScript files into JavaScript files that will be used to facilitate dynamic HTML and data collection. In order to run TypeScript in the browser, it must be transpiled to JavaScript; and to be efficient it must also be bundled into a single file. To facilitate this, a popular tool called Browserify will be used. To make sure that Browserify runs smoothly, all dependencies must be installed. To install all necessary dependencies:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;## In a terminal or powershell window, navigate to your repository for CSE 256&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;## In a terminal or powershell window, navigate to your &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;assignment &lt;/ins&gt;repository for CSE 256&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;## Next, navigate to the core folder (your path should be &amp;lt;your-repo-path&amp;gt;/projects/core)&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;## Once here, run this command &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;that installs all needed dependences&lt;/ins&gt;:  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;## Once here, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;install all dependencies locally for the core package (which is necessary for your project to &lt;/del&gt;run &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;properly) by running &lt;/del&gt;this command: &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;npm install&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;pre&lt;/ins&gt;&amp;gt; npm install &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;/pre&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;## Next, navigate to the information-foraging folder (your path should be &lt;/del&gt;&amp;lt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;your-repo-path&lt;/del&gt;&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;/projects/information-foraging)&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;## Once here, once again run: &lt;/del&gt;npm install&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;## At this point, all necessary dependencies have been installed, but as more projects are distributed throughout the semester, the same steps need to be followed to install dependencies for new projects  &lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;## At this point, all necessary dependencies have been installed, but as more projects are distributed throughout the semester, the same steps need to be followed to install dependencies for new projects  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Now that all dependencies have been installed&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;, a single build script can &lt;/del&gt;be run &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;that will transpile and bundle all TypeScript for your projects&lt;/del&gt;. The &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;script &lt;/del&gt;will &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;watch &lt;/del&gt;for changes &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;to TypeScript files &lt;/del&gt;and &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;recompile when new changes are saved &lt;/del&gt;to your &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;filesystem&lt;/del&gt;. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Every time &lt;/del&gt;that &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;a recompilation finishes the time will be printed &lt;/del&gt;to &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;the terminal window, therefore if you are ever curious if a recompilation has happened since your most recent &lt;/del&gt;changes just &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;check the timestamp. To &lt;/del&gt;run &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;the build script&lt;/del&gt;:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Now that all dependencies have been installed &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;you should &lt;/ins&gt;be &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;able to &lt;/ins&gt;run &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;various other scripts&lt;/ins&gt;. The &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;main one you &lt;/ins&gt;will &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;be using is:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;## In a terminal or powershell window navigate to your repository for CSE 256&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;pre&amp;gt;npm run dev&amp;lt;/pre&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;## Next navigate to &lt;/del&gt;&amp;lt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;your-repo-path&lt;/del&gt;&amp;gt;/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;projects/&amp;lt;project-you-are-working-on&lt;/del&gt;&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;, which is the location that you can run the build script from&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;# This command opens your website in the browser, watches &lt;/ins&gt;for &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;file &lt;/ins&gt;changes&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, recompiles your code for you, &lt;/ins&gt;and &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;pushed the updated version &lt;/ins&gt;to your &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;browser&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;# Use one of the two &lt;/del&gt;build &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;script options:&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;# If you just want to make sure &lt;/ins&gt;that &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;your app is up &lt;/ins&gt;to &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;date with &lt;/ins&gt;changes &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;then feel free to &lt;/ins&gt;just run:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;### To run once, use: npm run-script build&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;pre&lt;/ins&gt;&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;npm run build&amp;lt;&lt;/ins&gt;/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;pre&lt;/ins&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;### To continually watch &lt;/del&gt;for &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;changes, use: npm run-script watch&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;This will &lt;/ins&gt;build &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;your application in its current state and then stop without serving your website to your browser or watching &lt;/ins&gt;for &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;file updates.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Riley.McCuen</name></author>
		
	</entry>
	<entry>
		<id>https://classes.engineering.wustl.edu/cse256a/index.php?title=Node_Setup&amp;diff=178&amp;oldid=prev</id>
		<title>Jeremy.Goldstein at 17:06, 18 May 2020</title>
		<link rel="alternate" type="text/html" href="https://classes.engineering.wustl.edu/cse256a/index.php?title=Node_Setup&amp;diff=178&amp;oldid=prev"/>
		<updated>2020-05-18T17:06:52Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 17:06, 18 May 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l3&quot; &gt;Line 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;### Run the command 'node -v', which displays the node version, and you should get output similar to 12.14.1&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;### Run the command 'node -v', which displays the node version, and you should get output similar to 12.14.1&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;### Run the command 'npm -v', which displays the npm version, and you should get output similar to 6.13.4. npm stands for Node Package Manager and is used to manage dependencies for your projects.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;### Run the command 'npm -v', which displays the npm version, and you should get output similar to 6.13.4. npm stands for Node Package Manager and is used to manage dependencies for your projects.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;#&lt;/del&gt;# At this point &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;you have &lt;/del&gt;Node.js and the Node Package Manager (npm). You will use these to install the necessary dependencies as well as transpile and bundle TypeScript files into JavaScript files that will be used to facilitate dynamic HTML and data collection. In order to run TypeScript in the browser, it must be transpiled to JavaScript; and to be efficient it must also be bundled into a single file. To facilitate this, a popular tool called Browserify will be used. To make sure that &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;this tool &lt;/del&gt;runs smoothly, all dependencies must be installed. To install all necessary dependencies:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# At this point &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;your machine has &lt;/ins&gt;Node.js and the Node Package Manager (npm). You will use these to install the necessary dependencies as well as transpile and bundle TypeScript files into JavaScript files that will be used to facilitate dynamic HTML and data collection. In order to run TypeScript in the browser, it must be transpiled to JavaScript; and to be efficient it must also be bundled into a single file. To facilitate this, a popular tool called Browserify will be used. To make sure that &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Browserify &lt;/ins&gt;runs smoothly, all dependencies must be installed. To install all necessary dependencies:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;## In a terminal or powershell window, navigate to your repository for CSE 256&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;## In a terminal or powershell window, navigate to your repository for CSE 256&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;## Next, navigate to the core folder (your path should be &amp;lt;your-repo-path&amp;gt;/projects/core)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;## Next, navigate to the core folder (your path should be &amp;lt;your-repo-path&amp;gt;/projects/core)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l14&quot; &gt;Line 14:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 14:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;## Next navigate to &amp;lt;your-repo-path&amp;gt;/projects/&amp;lt;project-you-are-working-on&amp;gt;, which is the location that you can run the build script from&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;## Next navigate to &amp;lt;your-repo-path&amp;gt;/projects/&amp;lt;project-you-are-working-on&amp;gt;, which is the location that you can run the build script from&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;## Use one of the two build script options:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;## Use one of the two build script options:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;### To run once, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;run this command&lt;/del&gt;: npm run-script build&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;### To run once, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;use&lt;/ins&gt;: npm run-script build&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;### To continually watch for changes, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;run this command&lt;/del&gt;: npm run-script watch&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;### To continually watch for changes, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;use&lt;/ins&gt;: npm run-script watch&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jeremy.Goldstein</name></author>
		
	</entry>
	<entry>
		<id>https://classes.engineering.wustl.edu/cse256a/index.php?title=Node_Setup&amp;diff=177&amp;oldid=prev</id>
		<title>Jeremy.Goldstein at 17:02, 18 May 2020</title>
		<link rel="alternate" type="text/html" href="https://classes.engineering.wustl.edu/cse256a/index.php?title=Node_Setup&amp;diff=177&amp;oldid=prev"/>
		<updated>2020-05-18T17:02:00Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 17:02, 18 May 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# If you &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;do &lt;/del&gt;not &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;have &lt;/del&gt;[https://nodejs.org/en/download/ Node.js] &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;installed yet, follow the link to install it before proceeding.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# If you &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;have &lt;/ins&gt;not &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;already, follow the link to install &lt;/ins&gt;[https://nodejs.org/en/download/ Node.js]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;## After installing Node.js and setting up your path variables, run the following commands via a terminal window to test that your installation is &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;an &lt;/del&gt;up-to-date &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;version.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;## After installing Node.js and setting up your path variables, run the following commands via a terminal window to test that your installation &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;version &lt;/ins&gt;is up-to-date&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;### Run the command 'node -v', which displays the node version, and you should get output similar to 12.14.1&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;### Run the command 'node -v', which displays the node version, and you should get output similar to 12.14.1&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;### Run the command 'npm -v', which displays the npm version, and you should get output similar to 6.13.4. npm stands for Node Package Manager and is used to manage dependencies for your projects.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;### Run the command 'npm -v', which displays the npm version, and you should get output similar to 6.13.4. npm stands for Node Package Manager and is used to manage dependencies for your projects.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;#&lt;/del&gt;## At this point you have Node.js and the Node Package Manager (npm). You will use these to install the necessary dependencies as well as transpile and bundle TypeScript files into JavaScript files that will be used to facilitate dynamic HTML and data collection&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;## At this point you have Node.js and the Node Package Manager (npm). You will use these to install the necessary dependencies as well as transpile and bundle TypeScript files into JavaScript files that will be used to facilitate dynamic HTML and data collection. In order to run TypeScript in the browser, it must be transpiled to JavaScript&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;; &lt;/ins&gt;and to be efficient it must also be bundled into a single file. To facilitate this, a popular tool called Browserify will be used. To make sure that this tool runs smoothly, all dependencies must be installed. To install all necessary dependencies&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;# As is stated in the previous point TypesSript will be used to develop dynamic code for this course&lt;/del&gt;. In order to run TypeScript in the browser, it must be transpiled to JavaScript and to be efficient it must also be bundled into a single file. To facilitate this, a popular tool called Browserify will be used. To make sure that this tool runs smoothly, all dependencies must be installed.&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;# &lt;/del&gt;To install all necessary dependencies &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;do the steps below.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;## In a terminal or powershell window, navigate to your repository for CSE 256&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;## In a terminal or powershell window, navigate to your repository for CSE 256&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;## Next navigate to &amp;lt;your-repo-path&amp;gt;/projects/core&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;## Next&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;navigate to &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;the core folder (your path should be &lt;/ins&gt;&amp;lt;your-repo-path&amp;gt;/projects/core&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;## Once here, install all dependencies locally for the core package (which is necessary for your project to run properly) by running this command: npm install&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;## Once here, install all dependencies locally for the core package (which is necessary for your project to run properly) by running this command: npm install&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;## Next, navigate to &amp;lt;your-repo-path&amp;gt;/projects/information-foraging&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;## Next, navigate to &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;the information-foraging folder (your path should be &lt;/ins&gt;&amp;lt;your-repo-path&amp;gt;/projects/information-foraging&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;## Once here, once again run: npm install&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;## Once here, once again run: npm install&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;## At this point all necessary dependencies have been installed&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;. As &lt;/del&gt;more projects are distributed throughout the semester the same steps need to be followed to install dependencies for new projects &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;as well.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;## At this point&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;all necessary dependencies have been installed&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, but as &lt;/ins&gt;more projects are distributed throughout the semester&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;the same steps need to be followed to install dependencies for new projects  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Now that all dependencies have been installed a single build script can be run that will transpile and bundle all TypeScript for your projects. The script will watch for changes to TypeScript files and recompile when new changes are saved to your filesystem. Every time that a recompilation finishes the time will be printed to the terminal window, therefore if you are ever curious if a recompilation has happened since your most recent changes just check the timestamp.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Now that all dependencies have been installed&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;a single build script can be run that will transpile and bundle all TypeScript for your projects. The script will watch for changes to TypeScript files and recompile when new changes are saved to your filesystem. Every time that a recompilation finishes the time will be printed to the terminal window, therefore if you are ever curious if a recompilation has happened since your most recent changes just check the timestamp. To run the build script:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;# &lt;/del&gt;To run the build script:&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;## In a terminal or powershell window navigate to your repository for CSE 256&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;## In a terminal or powershell window navigate to your repository for CSE 256&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;## Next navigate to &amp;lt;your-repo-path&amp;gt;/projects/&amp;lt;project-you-are-working-on&amp;gt;, which is the location that you can run the build script from&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;## Next navigate to &amp;lt;your-repo-path&amp;gt;/projects/&amp;lt;project-you-are-working-on&amp;gt;, which is the location that you can run the build script from&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jeremy.Goldstein</name></author>
		
	</entry>
	<entry>
		<id>https://classes.engineering.wustl.edu/cse256a/index.php?title=Node_Setup&amp;diff=176&amp;oldid=prev</id>
		<title>Jeremy.Goldstein at 16:54, 18 May 2020</title>
		<link rel="alternate" type="text/html" href="https://classes.engineering.wustl.edu/cse256a/index.php?title=Node_Setup&amp;diff=176&amp;oldid=prev"/>
		<updated>2020-05-18T16:54:19Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 16:54, 18 May 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# If you do not have [https://nodejs.org/en/download/ Node.js] installed yet &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;then &lt;/del&gt;follow the link &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;and &lt;/del&gt;install it before proceeding.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# If you do not have [https://nodejs.org/en/download/ Node.js] installed yet&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;follow the link &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;to &lt;/ins&gt;install it before proceeding.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;## After installing Node.js and setting up your path variables &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;it may be helpful to &lt;/del&gt;run a &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;couple of commands &lt;/del&gt;to test your installation.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;## After installing Node.js and setting up your path variables&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;run &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;the following commands via &lt;/ins&gt;a &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;terminal window &lt;/ins&gt;to test &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;that &lt;/ins&gt;your installation &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;is an up-to-date version&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;### Open a terminal window to test the following commands:&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;### Run the command 'node -v'&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, which displays the node version, and &lt;/ins&gt;you should get output similar to 12.14.1&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;### Run the command 'node -v' you should get output similar to 12.14.1&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;, this indicates that your node installation is good to go.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;### Run the command 'npm -v'&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, which displays the npm version, and &lt;/ins&gt;you should get output similar to 6.13.4. npm stands for Node Package Manager and is used to manage dependencies for your projects.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;### Run the command 'npm -v' you should get output similar to 6.13.4&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;, this indicates that your npm installation is good to go&lt;/del&gt;. npm stands for Node Package Manager and is used to manage dependencies for your projects.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;##&lt;/ins&gt;# At this point you have Node.js and the Node Package Manager (npm). You will use these to install the necessary dependencies as well as transpile and bundle &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;TypeScript &lt;/ins&gt;files into &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;JavaScript &lt;/ins&gt;files that will be used to facilitate dynamic HTML and data collection.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# At this point you have Node.js and the Node Package Manager (npm). You will use these to install the necessary dependencies as well as transpile and bundle &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Typescript &lt;/del&gt;files into &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Javascript &lt;/del&gt;files that will be used to facilitate dynamic HTML and data collection.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# As is stated in the previous point &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;TypesSript &lt;/ins&gt;will be used to develop dynamic code for this course. In order to run &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;TypeScript &lt;/ins&gt;in the browser&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;it must be transpiled to &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;JavaScript &lt;/ins&gt;and to be efficient it must also be bundled into a single file. To facilitate this&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;a popular tool called Browserify will be used. To make sure that this tool runs smoothly&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;all dependencies must be installed.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# As is stated in the previous point &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Typescript &lt;/del&gt;will be used to develop dynamic code for this course. In order to run &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Typescript &lt;/del&gt;in the browser it must be transpiled to &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Javascript &lt;/del&gt;and to be efficient it must also be bundled into a single file. To facilitate this a popular tool called Browserify will be used. To make sure that this tool runs smoothly &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;make &lt;/del&gt;all dependencies must be installed.&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# To install all necessary dependencies do the steps below.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# To install all necessary dependencies do the steps below.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;## In a terminal or powershell window navigate to your repository for CSE 256&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;## In a terminal or powershell window&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;navigate to your repository for CSE 256&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;## Next navigate to &amp;lt;your-repo-path&amp;gt;/projects/core&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;## Next navigate to &amp;lt;your-repo-path&amp;gt;/projects/core&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;## Once here &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;run this command: npm install&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;## Once here&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;install all dependencies locally for the core package &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;(&lt;/ins&gt;which is necessary for your project to run properly&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;) by running this command: npm install&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;### This will &lt;/del&gt;install all dependencies locally for the core package which is necessary for your project to run properly&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;## Next&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;navigate to &amp;lt;your-repo-path&amp;gt;/projects/information-foraging&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;## Next navigate to &amp;lt;your-repo-path&amp;gt;/projects/information-foraging&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;## Once here&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, once again &lt;/ins&gt;run: npm install&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;## Once here run &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;this command&lt;/del&gt;: npm install&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;## At this point all necessary dependencies have been installed. As more projects are distributed throughout the semester the same steps need to be followed to install dependencies for new projects as well.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;## At this point all necessary dependencies have been installed. As more projects are distributed throughout the semester the same steps need to be followed to install dependencies for new projects as well.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Now that all dependencies have been installed a single build script can be run that will transpile and bundle all &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Typescript &lt;/del&gt;for your projects. The script will watch for changes to &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Typescript &lt;/del&gt;files and recompile when new changes are saved to your filesystem. Every time that a recompilation finishes the time will be printed to the terminal window, therefore if you are ever curious if a recompilation has happened since your most recent changes just check the timestamp.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Now that all dependencies have been installed a single build script can be run that will transpile and bundle all &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;TypeScript &lt;/ins&gt;for your projects. The script will watch for changes to &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;TypeScript &lt;/ins&gt;files and recompile when new changes are saved to your filesystem. Every time that a recompilation finishes the time will be printed to the terminal window, therefore if you are ever curious if a recompilation has happened since your most recent changes just check the timestamp.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# To run the build script &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;follow these steps&lt;/del&gt;:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# To run the build script:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;## In a terminal or powershell window navigate to your repository for CSE 256&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;## In a terminal or powershell window navigate to your repository for CSE 256&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;## Next navigate to &amp;lt;your-repo-path&amp;gt;/projects/&amp;lt;project-you-are-working-on&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;## Next navigate to &amp;lt;your-repo-path&amp;gt;/projects/&amp;lt;project-you-are-working-on&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, which &lt;/ins&gt;is the location that you can run the build script from&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;## This &lt;/del&gt;is the location that you can run the build script from&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;## &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Use one of the &lt;/ins&gt;two build script options:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;## &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;There are &lt;/del&gt;two build script options:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;### To run once&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;run this command: npm run-script build&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;### To run once run this command: npm run-script build&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;### To continually watch for changes&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;run this command: npm run-script watch&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;### To continually watch for changes run this command: npm run-script watch&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jeremy.Goldstein</name></author>
		
	</entry>
	<entry>
		<id>https://classes.engineering.wustl.edu/cse256a/index.php?title=Node_Setup&amp;diff=45&amp;oldid=prev</id>
		<title>Riley.McCuen: Node.js set up guide initial page.</title>
		<link rel="alternate" type="text/html" href="https://classes.engineering.wustl.edu/cse256a/index.php?title=Node_Setup&amp;diff=45&amp;oldid=prev"/>
		<updated>2020-01-10T02:40:01Z</updated>

		<summary type="html">&lt;p&gt;Node.js set up guide initial page.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;# If you do not have [https://nodejs.org/en/download/ Node.js] installed yet then follow the link and install it before proceeding.&lt;br /&gt;
## After installing Node.js and setting up your path variables it may be helpful to run a couple of commands to test your installation.&lt;br /&gt;
### Open a terminal window to test the following commands:&lt;br /&gt;
### Run the command 'node -v' you should get output similar to 12.14.1, this indicates that your node installation is good to go.&lt;br /&gt;
### Run the command 'npm -v' you should get output similar to 6.13.4, this indicates that your npm installation is good to go. npm stands for Node Package Manager and is used to manage dependencies for your projects.&lt;br /&gt;
# At this point you have Node.js and the Node Package Manager (npm). You will use these to install the necessary dependencies as well as transpile and bundle Typescript files into Javascript files that will be used to facilitate dynamic HTML and data collection.&lt;br /&gt;
# As is stated in the previous point Typescript will be used to develop dynamic code for this course. In order to run Typescript in the browser it must be transpiled to Javascript and to be efficient it must also be bundled into a single file. To facilitate this a popular tool called Browserify will be used. To make sure that this tool runs smoothly make all dependencies must be installed.&lt;br /&gt;
# To install all necessary dependencies do the steps below.&lt;br /&gt;
## In a terminal or powershell window navigate to your repository for CSE 256.&lt;br /&gt;
## Next navigate to &amp;lt;your-repo-path&amp;gt;/projects/core&lt;br /&gt;
## Once here run this command: npm install&lt;br /&gt;
### This will install all dependencies locally for the core package which is necessary for your project to run properly.&lt;br /&gt;
## Next navigate to &amp;lt;your-repo-path&amp;gt;/projects/information-foraging&lt;br /&gt;
## Once here run this command: npm install&lt;br /&gt;
## At this point all necessary dependencies have been installed. As more projects are distributed throughout the semester the same steps need to be followed to install dependencies for new projects as well.&lt;br /&gt;
# Now that all dependencies have been installed a single build script can be run that will transpile and bundle all Typescript for your projects. The script will watch for changes to Typescript files and recompile when new changes are saved to your filesystem. Every time that a recompilation finishes the time will be printed to the terminal window, therefore if you are ever curious if a recompilation has happened since your most recent changes just check the timestamp.&lt;br /&gt;
# To run the build script follow these steps:&lt;br /&gt;
## In a terminal or powershell window navigate to your repository for CSE 256.&lt;br /&gt;
## Next navigate to &amp;lt;your-repo-path&amp;gt;/projects/&amp;lt;project-you-are-working-on&amp;gt;&lt;br /&gt;
## This is the location that you can run the build script from&lt;br /&gt;
## There are two build script options:&lt;br /&gt;
### To run once run this command: npm run-script build&lt;br /&gt;
### To continually watch for changes run this command: npm run-script watch&lt;/div&gt;</summary>
		<author><name>Riley.McCuen</name></author>
		
	</entry>
</feed>