SwarmSense IoT Platform
SwarmSense Installation On Production Server
SwarmSense setup is really easy. It comes with one-click installer script which will take-care of every dependency of the application.
swarmsense.tar.gz from the latest release.
swarmsense.tar.gz, you will get a zip file
snms.zip of the application. First of all you have
to install unzip:
$ apt-get update $ apt-get install unzip
Now extract the zip file
$ unzip snms.zip
It will create a folder named release. Installation script for the application
setup.sh is under
release/script directory. Run this file to start application
$ cd release/script $ sh setup.sh
Note: Run all the above commands with root privileges.
$ sh setup.sh it will install nginx, postfix, rabbitmq, postgres,
After finishing the installation
/etc/snms.conf configuration will be created.
This file has all the application configurations. This file will be interpreted
as a python file so all the variables will be written in python style.
All the application related files logs will be at
Checkout Here for more details about installation: https://www.baseapp.com/swarmsense/swarmsense-installation-guide/
Setup with Docker (Beta)
Before proceeding, install the following prerequisites:
Once everything is installed, switch to the
snms.conf and change
value for security.
Now execute the following commands:
$ docker-compose up -d
This will build and start the container.
Now for first time you have to create the database tables and default settings. Run the following command:
$ docker-compose run backend snms db prepare
To create the first admin user, run the following command.
$ docker-compose run backend snms user create -a -c