Run REopt Lite API hosted locally or on a remote server
- Install Docker (https://www.docker.com/get-started)
- Open a command line terminal (e.g. command prompt, bash terminal) and type
cd path/to/cloned/repo - Type
docker-compose up --buildordocker compose up --builddepending on the version of Docker - Click the provided URL (starting with
http://127.0.0.1) to open Jupyter Lab in your browser - Click on the
workfolder in the left-hand project explorer and navigate to/notebooks/<your notebook> - If running REopt locally, you will also need to spin up REopt Lite Docker containers (https://github.com/NREL/REopt_Lite_API)
- To shut down, cntrl+c in the terminal or shutdown using the Jupyter Lab controls
- To spin up again after you've already done
--buildin step 3. above, just typedocker compose upand click the Jupyter URL