Skip to content

Commit 7f5bd99

Browse files
authored
Merge pull request #19 from mongodb-developer/improve-prerequisites
Marked as optional other ways to run the lab
2 parents f4f894a + eeadaeb commit 7f5bd99

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

docs/20-prerequisites/10-postgres.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,21 @@ import useBaseUrl from '@docusaurus/useBaseUrl';
88

99
In this lab you will be migrating data from a PostgreSQL relational database. You have a few options to set up this database. __Choose one option for your PostgreSQL database__.
1010

11-
## Option 1: Use a pre-configured database
11+
## 👐 Option 1: Use a pre-configured database
1212

1313
If you are participating in an instructor-led lab, they may have already set up this database for you. Ask your instructor for the connection URI and credentials.
1414

1515
:::info
1616
In an intructor-led lab you will use the provisioned PostgreSQL database, no need to do anything else
1717
:::
1818

19-
## Option 2: Load the schema and data into your own PostgreSQL server
19+
## 🦸 Option 2: Load the schema and data into your own PostgreSQL server
2020

2121
If you already have a PostgreSQL server set up, you can import the schema and data used in this lab. Download the file
2222
[1-library-schema-and-data.sql](https://github.com/mongodb-developer/relational-migrator-lab/blob/main/docker/sample-postgres-library/init/1-library-schema-and-data.sql)
2323
file and load it using psql or [pgAdmin](https://www.pgadmin.org/download/).
2424

25-
## Option 3: Run a PostgreSQL container using Docker
25+
## 🦸 Option 3: Run a PostgreSQL container using Docker
2626

2727
If you don't have an existing PostgreSQL server but have Docker installed, you can easily load a container pre-configured with
2828
PostgreSQL and the sample database:
@@ -39,7 +39,7 @@ docker run -p 5432:5432 sample-postgres-library
3939
```
4040
The PostgreSQL server can be accessed at localhost:5432 with a username of `postgres` and a password of `postgres`.
4141

42-
## Option 4: Load an SQL file
42+
## 🦸 Option 4: Load an SQL file
4343
Choose this option if you just want a quick hands-on experience and you don't need to run actual migration.
4444
Download the file [library-schema.sql](https://github.com/mongodb-developer/relational-migrator-lab/blob/main/resource/library-schema.sql)
4545
and upload this file to the Relational Migrator later, at the **create a project** step.

docs/20-prerequisites/20-mongodb.mdx

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import useBaseUrl from '@docusaurus/useBaseUrl';
99
As we'll be importing data from a Relational Database into MongoDB, you'll need to have a MongoDB database. You have a
1010
few options to set up this database.
1111

12-
## Option 1: New MongoDB Atlas cluster
12+
## 👐 Option 1: New MongoDB Atlas cluster
1313

1414
The easiest way to run MongoDB is to use MongoDB Atlas, our cloud-hosted database offering.
1515
You can set a MongoDB Atlas account and a free forever M0 Cluster.
@@ -20,12 +20,16 @@ To get yours, follow the instructions on the [Intro Lab:](https://mongodb-develo
2020

2121
Be sure to [open up the cluster to allow connections from your local computer](https://www.mongodb.com/docs/guides/atlas/network-connections/#overview), and configure a database user with the readWriteAnyDatabase role.
2222

23-
## Option 2: Use an existing cluster
23+
:::info
24+
In an intructor-led lab you will use an Atlas Cluster
25+
:::
26+
27+
## 🦸 Option 2: Use an existing cluster
2428

2529
If you have an existing MongoDB Atlas, Enterprise or Community cluster, you can use it as the migration target. Make sure you
2630
know the URI for the cluster, and have a database user with the readWriteAnyDatabase role.
2731

28-
## Option 3: Run a MongoDB container using Docker
32+
## 🦸 Option 3: Run a MongoDB container using Docker
2933

3034

3135
If you don't have an existing PostgreSQL server but have Docker installed, you can easily load a container pre-configured with

0 commit comments

Comments
 (0)