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

From Script | Spoken-Tutorial
Revision as of 15:29, 18 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 Downloads ABT for Linux file. Click on the download link Downloads ABT for Linux.
Switch to the Downloads folder ABT_for_Linux tar file will get downloaded in your Downloads folder.
Extract downloaded ABT_for_Linux.tar.gz file I have already downloaded ABT_for_Linux tar file on my Linux machine.

I will now extract the contents of this tar file.

Go to the folder ABT_for_Linux

Select files one by one


Let me open this folder ABT_for_Linux

You can see the following files-

ABTcore

genymotion

virtualbox

adb executable file

install.sh

install-ABT-dependencies.sh file &

read_me file

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

slide 5

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

Genymotion is not a part of ABT.

It is just a virtual device to showup ABT(User can use any virtual device).

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

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 by pressing Ctrl+Alt+T simultaneously.

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-

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

Type y and press Enter.

Point to genymotion genymotion has been 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 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.
Enter Username and Password >> Click on Connect You can enter Username and Password to connect to genymotion cloud.

The default Username & Password provided are

aakashabt and the password is aakashtest1.

Click on Connect.

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 7 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 >> Give root password


Open .bashrc file by typing -

sudo gedit .bashrc.

Press Enter.

Give root password if prompted.

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/ >> 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.


Give root password if prompted.

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

We have successfully installed ABT on a Linux machine through a virtual device genymotion.
Slide 8 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 9 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 ABT application >> Select Remember choice forever >> Click on Allow Open ABT application.

When prompted for superuser access, select Remember choice forever

And click on Allow.

Open Ledger report for Sbi I have already created a sample organization called 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 >> Click on Save file. I don’t want to set password for file security.

So I will select No.

And click on Save file.

Point to the folder ABT_PDF 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.
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.

Point to export 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.

Point to export folder Before transferring the folder, however, we need to give permissions to the folder.
Type sudo chmod 777 export >> press Enter >> Give root password Open a new terminal and type

sudo chmod 777 export

And press Enter.

Give root password if prompted.

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

slide 10 Note:

The export folder when transfered will overwrite the existing export folder

It is advisable to take backup before transfering.

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.
We successfully imported the organization.
Slide 11 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/ on your terminal.

And then type adb -e install ABT.apk

Slide 12 To start ABTcore, go to,

Downloads/ABT for Linux/ABTcore/

on your terminal.

And then 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