Get OpenWQ ===================================== It is important that you follow the following steps in order to ``clone`` OpenWQ in your machine, but to also make sure that you can easily ``pull`` and integrate updates in an efficient and hassle-free manner. STEP 1: Locate host-model source code folder ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ First locate the directory that contains your hydro-model source code. Open a Terminal and go to that folder: ``cd `` STEP 2: Clone OpenWQ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ To clone OpenWQ in your machine you should first install `Git `_. Now, lets clone the OpenWQ project in that folder. Go back to the Terminal, and run the following git command: ``git clone https://github.com/ue-hydro/openwq.git`` This will create a new folder named ``openwq`` that will contain the OpenWQ project, which consists of: #. folder ``src``: contains the OpenWQ's source code, #. ``Git`` folders and files #. ``cmake`` folders and files #. folder ``json_files_repo``: contains samples of input JSON files #. folder ``supporting_scripts``: contains several scripts in Python and MATLAB to support input generation and output extraction #. folder ``wikipage``: contains the source code of the wiki pages (rst and html files) You should see the following directory tree: .. image:: source_code_folder.png :width: 500 :alt: Folder tree **ATENTION**: Never change the code inside the ``openwq`` folder, except if for updating openwq. For that, please follow STEP 3). STEP 3: Keep OpenWQ updated ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ We are continuously working on improvements to OpenWQ. Thus, it is important that you regularly ``pull`` changes from OpenWQ's remote repository in GitHub. If you follow the instruction prescribed in STEP 2, updating ``openwq`` will not break OpenWQ's API calls. To update OpenWQ, regularly: * Open a Terminal, * Go inside the ``OpenWQ_code`` folder, and * Run the following command: ``git pull``