Owner : AMPLIFIER sp. z o.o.
Contact : support (at) ampliapps.com
website : https://ampliapps.com
- Table of contents
- SQLite-sync documentation
Welcome to the AMPLI-SYNC documentation!
- Devices communicate with server using HTTP/HTTPS protocol.
- Proxy Load Balancer. If necessary, proxy can redirect request to another instance of SQLite-core.
- Authorization provider will generate token based on response from authorization provider.
Proxy Balancer flowchart¶
Authorization Provider flowchart¶
REST API (server API)¶
This document describes integration with the REST API 3.x protocol.
There are two stages to processing a request:
- Device places an request.
- SQLite-sync server confirms the request has been processed successfully and sends confirmation with eventual conflict list that need to be resolved.
Steps needed to install AMPLI-SYNC manually on Ubuntu.
- Install Tomcat on Ubuntu:
- Create new user
sudo adduser amplisync
System will ask you for password for newly created user.
- Add user to group ‘tomcat’
sudo usermod -a -G tomcat amplisync
- Chang in web.xml path variable to
- Install new application in Tomcat. Start with switching to amplisync user.
- Create new folder /home/sqlitesync/demo
- Upload new service amplisync-demo to Tomcat. You can do that using Tomcat application manager, or you can put WAR file in Tomcat webapps folder. Name of your WAR file is app name in Tomcat environment. Remember to not place spaces and special chars in name of your WAR file.
- Restart Romcat:
service tomcat restart
Now you can access your installation using link:
- Setup permissions:
chown -R sqlitesync:tomcat /home/amplisync/demo/