Skip to content

Commit f3de460

Browse files
authored
Add Option for 'set' command for Environment Variables along with Export (#176)
* correct uri variable setting eg * double quotations * tags
1 parent 9058b23 commit f3de460

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

source/quick-start.txt

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,12 @@
44
Quick Start
55
===========
66

7-
.. default-domain:: mongodb
7+
.. facet::
8+
:name: genre
9+
:values: tutorial
10+
11+
.. meta::
12+
:keywords: set up, runnable app, initialize, connect
813

914
.. contents:: On this page
1015
:local:
@@ -35,19 +40,22 @@ a connection string similar to the following in your copy buffer:
3540
Set Your Connection String
3641
~~~~~~~~~~~~~~~~~~~~~~~~~~
3742

38-
Run the following code at the command prompt to save your MongoDB connection string to an
43+
Run the following code at the command prompt to save your MongoDB
44+
:ref:`connection string <csharp-connect-to-mongodb>` to an
3945
environment variable. This method is safer than including your credentials in your source
4046
code.
4147

4248
.. code-block:: bash
4349

44-
export MONGODB_URI='<your MongoDB URI>'
50+
export MONGODB_URI="<your MongoDB URI>"
4551

4652
.. important::
4753

4854
Make sure to replace the ``<username>`` and ``<password>`` sections of the connection
4955
string with the username and password of your Atlas user.
5056

57+
For more information about connection strings, see :manual:`Connection Strings </reference/connection-string/#connection-strings>`.
58+
5159
Set Up Your Project
5260
-------------------
5361

0 commit comments

Comments
 (0)