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

From Script | Spoken-Tutorial
Jump to: navigation, search


Title of script: ABT on Linux Desktop

Author : Trupti Rajesh Kini

Keywords: video tutorial, Accounting software, Linux, 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


What is the relevance of these in this tutorial?

We already have an overview tutorial, right?/*Slide 4 */


ABT can be used on any rooted tablet of your choice.Here we are installing on a Linux desktop.
Slide 5


To learn ABT, you must be familiar with the concepts of book keeping.
Slide 6 For more information visit the following links,

http://docs.aakashlabs.org/abt

So, lets learn how to install ABT on Linux desktop.


We are here using Genymotion which is just a medium for using ABT and not a part of it.

Open browser

and go to https://drive.google.com/folderview?id=0B_zkhzyAz8_xb3pxTmNLamJHajA&usp=sharing#grid in the address bar

Open web browser and go to this URL-

https://drive.google.com/?tab=mo&authuser=0#folders/0B99T6Wofsb5HMUJUeFdlczd3ZUk



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


I will now extract the contents of this tar file.

Go to the folder install-Genymotion and select files one by one


Let me open this folder.


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 This 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 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 This Shell script file will install-
  • Dependencies of ABT
  • Virtual box and
  • Genymotion on the desktop.


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


This Shell script file will 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/install_genymotion >> press Enter.

To access the folder files, type

cd Downloads/install-Genymotion


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.

Enter root password and hit enter. After successful installation, it will again prompt for root password.


Enter the password 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.

A new window appears. Click on Connect.
Point to credentials

Click on connect.

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 Custom Phone 7 - 4.2.2 - API 17 - 1024x600 from the available virtual devices.


Click on Next.

Click on Next. 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.
Open .bashrc file

Type sudo gedit .bashrc.

Press Enter.

Open .bashrc file by typing this command on the terminal,

sudo gedit .bashrc.


Press Enter.

Add export PATH=/opt/abt:$PATH

in .bashrc file

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

export PATH=/opt/abt:$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 sudo chmod 777 install.sh. Let’s give executable permission to install.sh file.


Type sudo chmod 777 install.sh and press Enter.

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



Enter the root password

Hit enter.

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


In subsequent tutorials we will learn how to work with ABT.

Slide 9 Note:

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


In such cases, you will have to manually install virtual box on your computer.

For information on how to do so, visit- https://www.virtualbox.org/wiki/Downloads


To know the architecture of your computer, simply type

uname -i in the terminal.


Download the virtual box suitable for your computer’s architecture.


Right-click on the downloaded .deb file.


Select Open with Ubuntu Software Center and then select install to install the virtual box.

Point to install.sh file After installation, just run ./install.sh command in the terminal to start ABT.
Slide 11 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 the Desktop.

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 Open a new terminal and type sudo chmod 777 export.


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

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.

We 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.
Click on Select Existing Organisation button. Now, click on Select Existing Organisation button.


We can view the organization that we imported in the list.

Slide 11

Summary

<<PAUSE>>

Let us summarise.

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

Slide 13


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 14


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 13


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

Trupti