11# Install and Launch for App Developers
22
3- At version 1.0, QuickView is expected to be installed and used from
4- a personal computer with the data files also being local.
5- Future versions will support the server-client model allowing access
6- to remote data.
3+ At version 1.0, QuickView is expected to be installed and used from a personal
4+ computer with the data files also being local. Future versions will support the
5+ server-client model allowing access to remote data.
76
8- Releases so far have focused on macOS. Support for
9- more systems will be added in the near [ future] ( ../future.md ) .
7+ Releases so far have focused on macOS. Support for more systems will be added in
8+ the near [ future] ( ../future.md ) .
9+
10+ ---
1011
11- ----
1212## Clone the repo
1313
1414```
1515git clone https://github.com/ayenpure/QuickView.git
1616cd QuickView
1717```
1818
19- ----
19+ ---
20+
2021## Install basic requirements
2122
2223```
@@ -28,20 +29,24 @@ conda activate quickview
2829pip install -e .
2930```
3031
31- ----
32+ ---
33+
3234## Launch the app from command line
3335
3436To launch the EAM QuickView GUI in its dedicated window, use
37+
3538```
3639quickview -data /path/to/your/data.nc --con /path/to/connectivity.nc
3740```
3841
3942To launch server only (no browser popup), use
43+
4044```
4145quickview -df /path/to/your/data.nc -cf /path/to/connectivity.nc --server
4246```
4347
44- ----
48+ ---
49+
4550## Development utilities
4651
4752```
@@ -50,7 +55,42 @@ ruff check quickview/
5055
5156# Run tests
5257python -m quickview.app --help
58+ ```
59+
60+ ---
61+
62+ ## NERSC setup
63+
64+ First you need to create a conda environment that is shared.
65+
66+ ```
67+ mkdir -p /global/common/software/m4359/conda-envs
68+
69+ module load conda
70+ conda create --prefix /global/common/software/m4359/conda-envs/e3sm-quickview python=3.13
71+ conda activate /global/common/software/m4359/conda-envs/e3sm-quickview
72+ conda install e3sm-quickview
73+ ```
74+
75+ Then you can create an application shortcut by editing the file
76+ ` /global/common/software/m4359/quickview ` with the following content
77+
78+ ```
79+ #!/usr/bin/env bash
80+
81+ module load conda
82+ conda activate /global/common/software/m4359/conda-envs/e3sm-quickview
83+ quickview -p 0
84+ ```
85+
86+ Then you can make it executable
87+ ` chmod +x /global/common/software/m4359/quickview `
88+
89+ If you want to update the application, you can run the following
90+
91+ ```
92+ module load conda
93+ conda activate /global/common/software/m4359/conda-envs/e3sm-quickview
5394
54- # Bump version
55- bumpversion patch
95+ conda install "e3sm-quickview>=1.3.3" # <--- Update version number
5696```
0 commit comments