Aakash-Business-Tool/C2/ABT-for-Linux/English

From Script | Spoken-Tutorial
Revision as of 11:17, 9 September 2014 by Trupti (Talk | contribs)

Jump to: navigation, search

Title of script: ABT on Linux Desktop

Author : Trupti Rajesh Kini

Keywords: video tutorial, Accounting software, ABT.apk, Genymotion


Visual Clue Narration
/* Slide 1 */


Hello and welcome to the spoken tutorial on ABT on Linux Desktop.
Show Slide

Learning Objectives /*Slide 2 */

This tutorial will show you how to install and use ABT on a Linux desktop.
Show Slide

System Requirements /*Slide 3 */

To record this tutorial, I am using-
  • ABT version 1.0 and
  • Ubuntu Linux 12.04

For the installation, you will need -

  • A working internet connection and
  • At least 2GB of RAM


Slide 4

Open browser

and go to http://aakashlabs.org/abt/

Open web browser and go to this URL-

http://aakashlabs.org/abt/

Point to the download link of ABT_for_Linux.tar.gz file. Click on the download link ABT_for_Linux.tar.gz.
Switch to the Downloads folder ABT_for_Linux.tar.gz file will get downloaded in your Downloads folder.
Extract downloaded ABT_for_Linux.tar.gz file I have already downloaded ABT_for_Linux.tar.gz file on my Linux machine.

I will now extract the contents of this tar file.

Go to the folder ABT_for_Linux and select files one by one


Let me open this folder ABT_for_Linux

You can see the following files-

ABTcore

genymotion

virtualbox

install.sh

adb file

install-ABT-dependencies.sh

read_me.rst

Point to the ABTcore As learnt earlier, we know that ABTcore installs the backend.
Point to the genymotion

slide 5

Genymotion folder has genymotion for 32(x86) and 64(x64) bit architecture.

genymotion is a complete set of tools that provides a virtual environment for Android.

It can be very useful for developers, testers, salesman or even gamers.

Point to virtualbox

slide 6

VirtualBox is just a virtual machine which won’t directly affect your machine.

VirtualBox is necessary for the functionality of genymotion.

Inside the virtualbox folder, we will find several virtualboxes.

They are in software package format(.deb) for-

  • Different versions of Ubuntu and
  • Different architectures of the desktop.


Point to install-ABT-dependencies.sh The Shell script file install-ABT-dependencies.sh will install-

Dependencies of ABT

Virtual box and

Genymotion on the desktop.

Point to install.sh file install.sh file will first check whether the virtual device is launched or not.

The Shell script file will then install ABTCore and ABT apk.

Point to read_me.rst The read-me file is the customized documentation for genymotion installation.
Open terminal Let’s begin the installation now.

So, open the terminal.

In the terminal type

cd Downloads/ABT_for_Linux >> press Enter.

To access the folder files, type

cd Downloads/ABT_for_Linux

and press Enter.

Type,

sudo chmod +x install-ABT-dependencies.sh install.sh

>> press Enter.

In order to give executable permission to the Shell scripts, type-

sudo chmod +x install-ABT-dependencies.sh install.sh

and press Enter.

Enter the root password

>> Press Enter.

Enter the root password if prompted and press Enter.
Type ./install-ABT-dependencies.sh >> press Enter To run the file, type -

./install-ABT-dependencies.sh

and press Enter.

Type y >> press Enter


The following message appears on the screen-

Installing to folder [/usr/bin/genymotion]. Are you sure [y/n] ?

Type y and press Enter.

Point to genymotion genymotion will be launched.
Point to the message that You have no virtual device available yet. Do you want to add a new one?

Click on Yes.

The following message appears on the screen-

You have no virtual device available yet. Do you want to add a new one?

Click on Yes.

Click on Connect. In the new window that appears, click on Connect.
Slide 7 You can enter Username and Password to connect to genymotion cloud.

The default Username & Password provided are

aakashabt and aakashtest1.

So, I will type these and click on Connect.

This will authenticate the user.

Point to the new window After this, a new window appears to create a new virtual device.
Select Custom Phone 7”-4.4.4-API17-1024*600

Click on Next.

Select any one of the available virtual devices.

I will select this option from the available virtual devices.

Click on Next.

Change device name to ABT.

Click on Next.

Change device name to ABT.

Again, click on Next.

It will start deploying genymotion virtual device.

This may take some time.

Click the finish button Click the Finish button to close the deployment window.
Click the Play button Now, click the Play button to start your newly created virtual device.
Point to the virtual device We can view the loaded virtual device here.
Slide 8 Note:

Don’t close the launched virtual device.

Don’t close the terminal.

Now let’s proceed to install ABT on genymotion.
Open a new terminal Open a new terminal by pressing Ctrl+Alt+T keys simultaneously.
Type sudo gedit .bashrc >> Press Enter


Open .bashrc file by typing -

sudo gedit .bashrc.


Press Enter.

Add export PATH=/opt:$PATH

in .bashrc file

Now edit the .bashrc file by adding the following line at the end of the file.

export PATH=/opt:$PATH

Save and close Save and close the file.
In terminal type

source .bashrc

Press Enter.

Now in the same terminal type the command-

source .bashrc

Press Enter.

Open terminal by pressing

Ctrl+Shift+T keys

Open a new tab on the terminal without closing the previous tab.

For that, press Ctrl+Shift+T keys simultaneously.

Type-

cd Download/ABT_for_Linux/


and press Enter


To execute the other script file, first type-

cd Download/ABT_for_Linux/


and press Enter

Type ./install.sh >> Press Enter Now, type ./install.sh and press Enter.
Type the root password >> Press Enter.


Type the root password of your machine, if prompted and press Enter.

This will install ABTcore and apk (backend and frontend) ABT.

We have successfully installed ABT on a Linux machine through a virtual device genymotion.
Slide 9 Note:

There might be chances that genymotion doesn’t work with the given virtual boxes.

In such cases, manually install virtual box on your computer using Synaptic Package Manager.

Point to install.sh file In future if you want to start ABT, just go to the path & run ./install.sh command in the terminal .
Slide 10 Now, we will learn some important features of ABT on Desktop.

The features are-

  • Import report as pdf/csv.
  • Import and Export organization.

Note: Here files will be saved on your system.

Open Ledger report I have already created a sample organization called I gave this name for distinctness.TK Group.

I will open a Ledger report now.

And I will view the ledger report for Sbi account.

Point to the top right corner >> click on Options button In the report, on the top right corner, I will click on Options button.

It will give me 2 options:

  • Export as PDF.
  • Export as CSV.


Choose Export as PDF I will choose Export as PDF option.
Select No. I don’t want to set password for file security. So I will select No.
Click on Save file. Click on Save file button.

A folder called ABT_PDF will get created automatically in the Home directory.

Point to the folder ABT_PDF All the pdf files generated will be saved in this ABT_PDF folder.
Point to the folder ABT_CSV Likewise, the csv files generated will be saved in ABT_CSV folder.
Now, we will learn how to import and export an organization.
Click on Export Organization option >>

Click on Yes.

First let’s learn how to export an organization.

Click on Export Organization option and then click on Yes.

Point to export folder This will create a folder called export in the Home directory.

All the exported organizations will be saved in this folder.

These organizations can be imported on any other Linux machine, on which ABT is installed.

We just need to transfer the export folder to the Home directory of the other Linux machine.

Before transferring the folder, however, we need to give permissions to the folder.
Type sudo chmod 777 export slide 11 Open a new terminal and type sudo chmod 777 export.

We can now copy the export folder to the other machine.

Note: While transferring export folder to another machine, maintain a backup of export folder of that machine.

As the export folder will overwrite the other export folder.

Go to the welcome screen of ABT Next, we will learn how to import an organization.

For that, we will go to the Welcome screen of ABT.

Point to Import Organization option on the sliding drawer on the left. We can see the Import Organization option on the sliding drawer, on the left.
Click on Import Organization.


Click on Import Organization.

You can import only those organizations which are present in the export folder.


Click on Import >> click on Exit. Click on Import and then click on Exit.
Slide 12 If you want to use some other virtual device, you must remember 2 things:

To install apk, go to

Downloads/ABT for Linux/ABTcore/install/

Type adb -e install ABT.apk in

terminal

To start ABTcore, go to Downloads/ABT for Linux/ABTcore/

Type sudo ./abtstart

Slide 13

Summary

<<PAUSE>>

Let us summarise.

In this tutorial, we learnt how to install and use ABT on a Linux desktop.

Slide 14


Watch the video available at http:spoken-tutorial.org/

It summarizes the Spoken Tutorial project.

If you do not have good bandwidth, you can download and watch it.

Slide 15


The Spoken Tutorial Project Team
  • Conducts workshops using spoken tutorials
  • Gives certificates to those who pass an online test

For more details, please write to contact@spoken-tutorial.org

Slide 16


Spoken Tutorial Project is a part of the Talk to a Teacher project.

It is supported by the National Mission on Education through ICT, MHRD, Government of India

More information on this Mission is available at

http://spoken-tutorial.org/NMEICT-Intro

This is Trupti Kini from IIT Bombay signing off. Thank you for watching.

Contributors and Content Editors

Nancyvarkey, Trupti