.. _BuildingDepot Installation: Installation ############ Using install.sh **************** .. note:: This installer installs the BD DataService, CentralService, MongoDB, InfluxDB and Redis on the same machine. 1. Extract the package and cd into the folder**: :code:`$ tar -xzf buildingdepot-3.#.#.tar.gz` :code:`$ cd buildingdepot-3.#.#/` 2. Run the installer :code:`$ ./install.sh` This will install BuildingDepot in the default installation location :code:`/srv/buildingdepot` with the following directory structure: .. code:: bash buildingdepot |-- CentralService - CentralService |-- DataService - DataService |-- CentralReplica - The central replica that is present at every DataService +-- venv - Python Virtual Environment 3. After installation please go the CentralService on port 81 of your installation and create a DataService to start off with called "ds1". If you would like to use another name for your DataService do ensure that the name is accordingly changed in the config.py file in the DataService folder. What's installed **************** - The following packages are installed using apt-get .. code:: bash openssl python-setuptools python-dev build-essential python-software-properties mongodb python-pip nginx supervisor redis-server influxdb - The following packages are installed in the python virtual environment .. code:: bash Flask mongoengine flask-restful Flask-HTTPAuth flask-login validate_email requests Flask-Script Flask-WTF flask-bootstrap redis influxdb pymongo .. _Configuration: Configuration ############# The BD :ref:`Installer ` configures BD with some default values. The CentralService can be accessed on port 81 and the DataService on port 82. .. _Access DataService: DataService *********** To access the DataService, go to .. code:: bash URL - http://:82 .. _Access CentralService: CentralService ************** To access the CentralService, go to .. code:: bash URL - http://:81