Skip to content
Eli Lingat edited this page Oct 3, 2022 · 12 revisions

Welcome to the uw_junocam wiki!

To install uw_junocam for first-time setup, follow these steps:

First clone the git repository, then navigate to the repository folder.

In a terminal, run:

conda create --name uw_junocam -c conda-forge python numpy Pillow astropy astroquery httpx rich flask cv2
pip install pds.api_client

This creates the conda environment that the backend relies upon.

Next, run:

cd uw_junocam_client
npm install

This should set up the front end of the web app. If this does not work, try installing Node.js and trying again.

To start the web app, run:

cd uw_junocam_client
npm start --port 3001

On a different terminal, run:

conda activate uw_junocam_client
python app.py

This starts the front-end React portion of the web-app and the back-end Flask server that the front-end queries to.

Clone this wiki locally