Download A-Stack
Download the A-Stack Zip file that has been provided to you using the downloadable zip file link that has been provided to your email.
Install A-Stack
Installation Steps
Unzip A-Stack Bundle
- Open a terminal or cmd window and create a directory (say, atomiton-release)
- Run unzip <Name of the A-Stack Bundler Zip file>
Content Description
Once the bundle is unzipped you will following files and folder structure.
File/Folder Name | Description |
---|---|
bin | TQL Command Line Interface Tool (Windows: tql.bat; Linux: tql) |
lib | Libraries used by TQL Command Line Interface Tool |
syslib | Atomiton Provided Drivers associated with various protocol handlers. Please look at |
logs | Log files generated by A-Stack |
examples | Sample Models |
sff.local.config.xml | Add you local project specific settings here |
resources | Temporary store where you projects gets imported and stored |
sff.auto.launch | Folder containing runtime / 3rd party redistributable bundlers (Including Protocol Handlers prepackaged by Atomiton) |
A-Stackui | A-Stack Javascipt/HTML files |
atomiton.A-Stack.jar | A-Stack Runtime (Main one!) |
Starting A-Stack
- Please refer to TQL Command Line Interface Engine command with Start option
Verify Installation
There are two ways you can verify that the engine has started successly
- Using TQL Command Line Interface Engine command with Status option
- Looking at the log file (logs/startup.log) which should display
Default Configuration
Default configuration settings of A-Stack
<SffLocalConfig> <Deploy.Location>/Users/baseerkhan/iot/atomiton/atomiton-release/</Deploy.Location> <Project.Repository.Location>[:Deploy.Location:]resources</Project.Repository.Location> <sff.server.port>8080</sff.server.port> <sff.local.deploy></sff.local.deploy> </SffLocalConfig>
- A-Stack starts on port 8080 by default. You can edit this file to change the default settings.
Log Files
- A-Stack by default creates log files in logs folder in A-Stack folder
By default Log provider configured is Log4j with following Log4j properties files
Default Log4j settings#Log4J Properties : log4j.rootLogger=INFO, R log4j.appender.R=org.apache.log4j.RollingFileAppender log4j.appender.R.File=deviceEngine.log log4j.appender.R.MaxFileSize=50Mb # Keep one backup file log4j.appender.R.MaxBackupIndex=20 log4j.appender.R.layout=org.apache.log4j.PatternLayout log4j.appender.R.layout.ConversionPattern=[%d] %p %c [%t] %m%n
Default Login and Password
**Applicable to A-Stack User Interface Only**
Not the A-Stack User Interface credentials are not same as your TQLStudio account. You can change the default login credentials using A-Stack UserInterface.
**Login and Password are CaseSensitive**
Login | Password | FirstName | LastName |
---|---|---|---|
A-Stack@atomiton.com | tql123 | Atomiton | A-Stack |
Verify Agreement
Login URL
http://<hostipaddress>:<defaultPort>/app/index.html - Accept the Agreement
- Default Engine not activate page (Applicable to version 1.0.5)
Next, let's try importing a sample project.