You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+33-22Lines changed: 33 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -84,14 +84,14 @@ This example project contains the following files and folders
84
84
85
85
The first step is to unzip or download the example project folder into a directory of your choice, then choose how to run the application based on your environment below.
86
86
87
-
### <aid="how_to_setup"></a>Set Up Environment
87
+
### <aid="how_to_setup_console"></a>Set Up A Console Environment
88
88
89
89
It is an advisable to create a dedicate Python environment to run each Python project. You can create a new Conda environment names *MRN_RTO* with the following steps
90
90
91
91
1. Open Anaconda Prompt and go to the project's folder
92
92
2. Run the following command in an Anaconda Prompt to create a Conda environment named *MRN_RTO* for the project.
93
93
```
94
-
(base) $>conda create --name MRN_RTO python=3.8
94
+
(base) $>conda create --name MRN_RTO python=3.10
95
95
```
96
96
3. Once the environment is created, activate MRN_RTO environment with this command in Anaconda Prompt
97
97
```
@@ -101,24 +101,39 @@ It is an advisable to create a dedicate Python environment to run each Python pr
101
101
```
102
102
(MRN_RTO) $>pip install -r requirements.txt
103
103
```
104
+
105
+
### <aid="how_to_setup"></a>Set Up A Jupyter Notebook Environment
106
+
107
+
It is an advisable to create a dedicate Python environment to run each Python project. You can create a new Conda environment names *MRN_RTO* with the following steps
108
+
109
+
1. Open Anaconda Prompt and go to the project's folder
110
+
2. Run the following command in an Anaconda Prompt to create a Conda environment named *MRN_Notebook* for the project.
### <aid="rtds_jupyter"></a>RTDS Jupyter Notebook example
105
124
106
125
Please be informed that your Real-Time Advanced Data Hub and Real-Time Advanced Distribution Server should have a Service that contains MRN data. The Python [Anaconda](https://www.anaconda.com/distribution/) or [MiniConda](https://docs.conda.io/en/latest/miniconda.html) distribution/package manager is highly recommended for running the JupyterLab example.
107
126
108
127
1. Open Anaconda Prompt and go to the project's folder
109
128
2. Activate MRN_RTO environment with this command in Anaconda Prompt
110
129
```
111
-
(base) $>conda activate MRN_RTO
112
-
```
113
-
3. Run the following command to install the JupyterLab application and pandas in the *MRN_RTO* environment
4. In the current Anaconda Prompt, go to the project's notebook folder. Run the following command to start the JupyterLab application in the notebook folder.
132
+
3. In the current Anaconda Prompt, go to the project's notebook folder. Run the following command to start the JupyterLab application in the notebook folder.
118
133
```
119
-
(MRN_RTO) $>jupyter lab
134
+
(MRN_Notebook) $>jupyter lab
120
135
```
121
-
5. Open *mrn_notebook_app.ipynb* Notebook document, then follow through each notebook cell.
136
+
4. Open *mrn_notebook_app_rtds.ipynb* Notebook document, then follow through each notebook cell.
122
137
123
138
### <aid="rtds_console"></a>RTDS Console example
124
139
@@ -140,17 +155,13 @@ Please be informed that your Real-Time Advanced Data Hub and Real-Time Advanced
140
155
Please be informed that your RTO access credentials should have a permission to request MRN data.
141
156
142
157
1. Open Anaconda Prompt and go to the project's folder
143
-
2. Activate MRN_RTO environment with this command in Anaconda Prompt
144
-
```
145
-
(base) $>conda activate MRN_RTO
146
-
```
147
-
3. Run the following command to install the JupyterLab application in the *MRN_RTO* environment
158
+
2. Activate MRN_Notebook environment with this command in Anaconda Prompt
0 commit comments