Server Installation Guide
Atman IoT is provided as a pre-configured docker image that can be downloaded via Docker Hub and installed via docker-compose.
The installation includes:
- A pre-confugured MySql database image
- The Adminer database management tool
- Atman IoT Server
- Self-hosted REST API Explorer
#
Easy to InstallYou can install it by following five (5) simple steps:
- Create a new directory and change to it:
- Create a file named docker-compose.yml and edit it with your favorite editor:
- Copy the following into the above file and save it. Please make sure you change MYSQL_ROOT_PASSWORD of docker-compose.yml before the next step. MYSQL_PASSWORD should be left as is, for now:
- Install with docker-compose:
- Chance mysql user password (optional)
- Open the database admin page http://localhost:8080/?server=atmandb and login as root, with the MYSQL_ROOT_PASSWORD you used in your docker-compose.yml
- Select the atman_iot database, then click on the Privileges tab. Then edit the privileges of user atman-iot
- Edit your local configuration file and change the database password:
tip
The above procedure is applicable for Debian-based Linux OS. Please modify it accordingly if you are using a different operating system!
#
Starting the serverYou can start the server with docker-compose:
#
Accessing the server interfacesAfter you start the server, you can access the following interfaces:
- Local API documentation: http://localhost:3000/documentation.html
- API Explorer: http://localhost:3000/explorer
- Database admin page: http://localhost:8080/?server=atmandb
#
Online API DocumentationYou can find the up to date Atman IoT core API documentation here!