Starting up the Web App and Flask Server - UWMRO/Instruments GitHub Wiki

Starting up the Web App and Flask Server

After setting up your development environment, please follow these steps to open the app for development/use.

Step 1

Open two terminals for use.

Step 2

In the first terminal, run the following commands:

cd uwmro-client
npm start --port 3001

This should open a browser window with the web-app in the desired port. Port 3000 will be used for querying the Flask server.

Step 3

In the second terminal, run the following:

conda activate uwmro_instruments
cd server
python app.py

This opens the Flask server, to be called whenever the web-app queries it.