Skip to content

Commit f9d7104

Browse files
authored
Add note that you may need to wrap URL in quotes (#5043)
1 parent f77ecab commit f9d7104

File tree

1 file changed

+5
-1
lines changed
  • files/en-us/learn/server-side/express_nodejs/mongoose

1 file changed

+5
-1
lines changed

files/en-us/learn/server-side/express_nodejs/mongoose/index.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -811,6 +811,10 @@ <h4>Note</h4>
811811
</li>
812812
<li>Run the script using node in your command prompt, passing in the URL of your <em>MongoDB</em> database (the same one you replaced the <em>insert_your_database_url_here</em> placeholder with, inside <code>app.js</code> earlier):
813813
<pre class="brush: bash">node populatedb &lt;your mongodb url&gt;</pre>
814+
<div class="notecard note">
815+
<h4>Note</h4>
816+
<p>On some operating systems/terminals, you may need to wrap the database URL inside double (") or single (') quotation marks.</p>
817+
</div>
814818
</li>
815819
<li>The script should run through to completion, displaying items as it creates them in the terminal.</li>
816820
</ol>
@@ -848,7 +852,7 @@ <h2 id="In_this_module">In this module</h2>
848852
<li><a href="/en-US/docs/Learn/Server-side/Express_Nodejs/development_environment">Setting up a Node (Express) development environment</a></li>
849853
<li><a href="/en-US/docs/Learn/Server-side/Express_Nodejs/Tutorial_local_library_website">Express Tutorial: The Local Library website</a></li>
850854
<li><a href="/en-US/docs/Learn/Server-side/Express_Nodejs/skeleton_website">Express Tutorial Part 2: Creating a skeleton website</a></li>
851-
<li><a href="/en-US/docs/Learn/Server-side/Express_Nodejs/mongoose">Express Tutorial Part 3: Using a Database (with Mongoose)</a></li>
855+
<li><strong>Express Tutorial Part 3: Using a Database (with Mongoose)</strong></li>
852856
<li><a href="/en-US/docs/Learn/Server-side/Express_Nodejs/routes">Express Tutorial Part 4: Routes and controllers</a></li>
853857
<li><a href="/en-US/docs/Learn/Server-side/Express_Nodejs/Displaying_data">Express Tutorial Part 5: Displaying library data</a></li>
854858
<li><a href="/en-US/docs/Learn/Server-side/Express_Nodejs/forms">Express Tutorial Part 6: Working with forms</a></li>

0 commit comments

Comments
 (0)