Commit a8ff1ad2 authored by Ibrahim Ahmed's avatar Ibrahim Ahmed
Browse files

README: added quickstart instructions for script restarting

parent e9d02a40
Loading
Loading
Loading
Loading
+12 −0
Changes for README.md: 12 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -32,6 +32,18 @@ To run the controller, (1) review control settings, (2) create/update the produc

The environment needs to be created only once. Every time after, the environment is activated and the scipt is called.

#### 0. Quick start

Refer to this section if you're aware of how the script is set up, and you just want to restart it.

```
cd CODE_DIRECTORY                             # navigate to code directory
git pull                                      # update code from remote branch
conda env update -f=./environment.yml         # update virtual environment (assuming already created)
conda activate esb-prod                       # activate environment
python src/controller.py -s src/settings.ini  # run script, assuming username/password are set in settings.ini
```

#### 1. Review settings before running the controller

The controller settings can be specified in a settings file. The default settings file is located in `src/settings.ini`. A file can be created at another location but the file path must be specified when running the controller script. To create a custom settings file, just copy `src/settings.ini` to a location of your choice.
+6 −5
Changes for trends.txt: 6 added lines, 5 removed lines.
Original line number Diff line number Diff line
2421 Chiller 1
2623 Chiller 2
2621 Cooling Tower 1
2622 Cooling Tower 2
2421 ESB Chiller 1
2623 ESB Chiller 2
2621 ESB Cooling Tower 1
2622 ESB Cooling Tower 2
2422 ESB HVAC Control (Chiller 1)
2841 ESB HVAC Control 2 (Chiller 2)
2841 HVAC Control 2 (Chiller 2)

3841 Kissam Cooling Tower
 No newline at end of file