Skip to content

Latest commit

 

History

History
47 lines (32 loc) · 958 Bytes

File metadata and controls

47 lines (32 loc) · 958 Bytes

How to Deploy

  1. Access to provision folder once the respository has been cloned:

    cd ~/FiwareDevModeForPositionSystem/provision/
  2. Create and copy the certificates using ssl.sh script from services names like api. E.g.:

    Details of the script have been documented in Security Layer

    ./ssh.sh api
  3. Increase CrateDB virtual Memory

    sudo sysctl -w vm.max_map_count=262144
  4. Update the PROTOCOL environmental variable from AMQP to MQTT:

    cd ./Publisher-Agent
    nano docker-compose.yml
    PROTOCOL=MQTT
  5. Pull docker images

    ./services create
  6. Deploy containers, add database indexes, create entities, device provisioning and create subscriptions.

    ./services start
  7. Stop and remove containers

    ./services stop