Difference between revisions of "Aakash-Business-Tool/C2/ABT-for-Linux/English"

From Script | Spoken-Tutorial
Jump to: navigation, search
Line 27: Line 27:
 
| style="border:1pt solid #000000;padding:0.176cm;"| Show Slide  
 
| style="border:1pt solid #000000;padding:0.176cm;"| Show Slide  
  
System Requirements /<nowiki>*Slide 3 */ </nowiki>
+
System Requirements /*Slide 3 */  
 
| style="border:1pt solid #000000;padding:0.176cm;"| To record this tutorial, I am using-  
 
| style="border:1pt solid #000000;padding:0.176cm;"| To record this tutorial, I am using-  
  
Line 36: Line 36:
  
 
* A working internet connection and  
 
* A working internet connection and  
* At least''' 2GB '''of''' RAM '''
+
* At least '''2GB '''of '''RAM '''
  
  
Line 45: Line 45:
 
Open browser  
 
Open browser  
  
and go to [http://aakashlabs.org/ac/project/3/ http://aakashlabs.org/abt/]
+
and go to [http://aakashlabs.org/ac/project/3/ http://aakashlabs.org/abt/]  
 
| style="border-top:1pt solid #000000;border-bottom:0.75pt solid #000000;border-left:0.75pt solid #000000;border-right:0.75pt solid #000000;padding:0.176cm;"| Open web browser and go to this URL-  
 
| style="border-top:1pt solid #000000;border-bottom:0.75pt solid #000000;border-left:0.75pt solid #000000;border-right:0.75pt solid #000000;padding:0.176cm;"| Open web browser and go to this URL-  
  
[http://aakashlabs.org/ac/project/3/ http://aakashlabs.org/abt/]
+
[http://aakashlabs.org/ac/project/3/ http://aakashlabs.org/abt/]  
  
 
|-
 
|-
 
| style="border-top:0.75pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| Point to the download link of '''ABT_for_Linux.tar.gz''' file.  
 
| style="border-top:0.75pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| Point to the download link of '''ABT_for_Linux.tar.gz''' file.  
| style="border-top:0.75pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| Click on the download link '''ABT_for_Linux.tar.gz.'''
+
| style="border-top:0.75pt solid #000000;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.176cm;"| Click on the download link '''Downloads ABT for Linux.'''
  
 
|-
 
|-
Line 69: Line 69:
  
  
| style="border:1pt solid #000000;padding:0.176cm;"| Let me open this folder '''ABT_for_Linux'''
+
| style="border:1pt solid #000000;padding:0.176cm;"| Let me open this folder '''ABT_for_Linux'''  
  
 
You can see the following files-  
 
You can see the following files-  
Line 98: Line 98:
  
 
'''genymotion''' is a complete set of tools that provides a virtual environment for '''Android'''.  
 
'''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.
 
  
 
|-
 
|-
Line 120: Line 118:
 
|-
 
|-
 
| style="border:1pt solid #000000;padding:0.176cm;"| Point to '''install-ABT-dependencies.sh'''  
 
| style="border:1pt solid #000000;padding:0.176cm;"| Point to '''install-ABT-dependencies.sh'''  
| style="border:1pt solid #000000;padding:0.176cm;"| The Shell script file''' install-ABT-dependencies.sh '''will install-
+
| style="border:1pt solid #000000;padding:0.176cm;"| The Shell script file '''install-ABT-dependencies.sh '''will install-  
  
Dependencies of '''ABT'''
+
Dependencies of '''ABT'''  
  
'''Virtual box '''and
+
'''Virtual box '''and  
  
'''Genymotion''' on the desktop.
+
'''Genymotion''' on the desktop.  
  
 
|-
 
|-
Line 142: Line 140:
 
| style="border:1pt solid #000000;padding:0.176cm;"| Let’s begin the installation now.  
 
| style="border:1pt solid #000000;padding:0.176cm;"| Let’s begin the installation now.  
  
So, open the '''terminal.'''  
+
So, open the '''terminal '''by pressing '''Ctrl+Alt+T '''simultaneously.
  
 
|-
 
|-
Line 199: Line 197:
  
 
Click on '''Yes.'''  
 
Click on '''Yes.'''  
| style="border:1pt solid #000000;padding:0.176cm;"| The following message appears on the screen-  
+
| style="border:1pt solid #000000;padding:0.176cm;"| The message appears on the screen-  
  
 
'''You have no virtual device available yet. Do you want to add a new one?'''  
 
'''You have no virtual device available yet. Do you want to add a new one?'''  
Line 206: Line 204:
  
 
|-
 
|-
| style="border:1pt solid #000000;padding:0.176cm;"| Click on '''Connect'''.
+
| style="border:1pt solid #000000;padding:0.176cm;"| Click on '''Connect'''.  
| style="border:1pt solid #000000;padding:0.176cm;"| In the new window that appears, click on '''Connect'''.
+
| style="border:1pt solid #000000;padding:0.176cm;"| In the new window that appears, click on '''Connect'''.  
  
 
|-
 
|-
Line 278: Line 276:
  
 
|-
 
|-
| style="border:1pt solid #000000;padding:0.176cm;"| Type''' sudo gedit .bashrc '''>> Press '''Enter'''
+
| style="border:1pt solid #000000;padding:0.176cm;"| Type '''sudo gedit .bashrc '''>> Press '''Enter'''  
  
  
  
| style="border:1pt solid #000000;padding:0.176cm;"| Open '''.bashrc''' file by typing -
+
| style="border:1pt solid #000000;padding:0.176cm;"| Open '''.bashrc''' file by typing -  
 
+
'''sudo gedit .bashrc.'''
+
  
 +
'''sudo gedit .bashrc.'''
  
 
Press '''Enter.'''  
 
Press '''Enter.'''  
Line 322: Line 319:
  
 
|-
 
|-
| style="border:1pt solid #000000;padding:0.176cm;"| Type-
+
| style="border:1pt solid #000000;padding:0.176cm;"| Type-  
 
+
'''cd Download/ABT_for_Linux/'''
+
  
 +
'''cd Download/ABT_for_Linux/'''
  
 
and press '''Enter '''
 
and press '''Enter '''
Line 331: Line 327:
  
  
| style="border:1pt solid #000000;padding:0.176cm;"| To execute the other script file, first type-
+
| style="border:1pt solid #000000;padding:0.176cm;"| To execute the other script file, first type-  
 
+
'''cd''' '''Download/ABT_for_Linux/'''
+
  
 +
'''cd''' '''Download/ABT_for_Linux/'''
  
 
and press '''Enter '''
 
and press '''Enter '''
Line 343: Line 338:
  
 
|-
 
|-
| style="border:1pt solid #000000;padding:0.176cm;"| Type the root password >> Press '''Enter.'''
+
| style="border:1pt solid #000000;padding:0.176cm;"| Type the root password >> Press '''Enter.'''  
  
  
  
| style="border:1pt solid #000000;padding:0.176cm;"| Type the root password of your machine, if prompted and press '''Enter.'''
+
| style="border:1pt solid #000000;padding:0.176cm;"| Type the root password of your machine, if prompted and press '''Enter.'''  
  
 
This will install '''ABTcore '''and '''apk '''(backend and frontend) '''ABT'''.  
 
This will install '''ABTcore '''and '''apk '''(backend and frontend) '''ABT'''.  
Line 361: Line 356:
 
There might be chances that '''genymotion '''doesn’t work with the given '''virtual boxes'''.  
 
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.'''
+
In such cases, manually install '''virtual box '''on your computer using '''Synaptic Package Manager.'''  
  
 
|-
 
|-
Line 448: Line 443:
  
 
|-
 
|-
| style="border:1pt solid #000000;padding:0.176cm;"| Type '''sudo chmod 777 export''' slide 11
+
| style="border:1pt solid #000000;padding:0.176cm;"| Type '''sudo chmod 777 export''' slide 11  
 
| style="border:1pt solid #000000;padding:0.176cm;"| Open a new '''terminal '''and type '''sudo chmod 777 export.'''  
 
| style="border:1pt solid #000000;padding:0.176cm;"| Open a new '''terminal '''and type '''sudo chmod 777 export.'''  
  
 
We can now copy the '''export '''folder to the other machine.  
 
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.
+
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.
+
As the '''export '''folder will overwrite the other '''export '''folder.  
  
 
|-
 
|-
Line 475: Line 470:
  
 
You can import only those organizations which are present in the '''export '''folder.  
 
You can import only those organizations which are present in the '''export '''folder.  
 +
  
  
Line 483: Line 479:
  
 
|-
 
|-
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0.176cm;padding-left:0.176cm;padding-right:0.176cm;"| Slide 12
+
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0.176cm;padding-left:0.176cm;padding-right:0.176cm;"| Slide 12  
 
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0.176cm;padding-left:0.176cm;padding-right:0.176cm;"| If you want to use some other virtual device, you must remember 2 things:  
 
| style="border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding-top:0cm;padding-bottom:0.176cm;padding-left:0.176cm;padding-right:0.176cm;"| If you want to use some other virtual device, you must remember 2 things:  
  
Line 499: Line 495:
  
 
|-
 
|-
| style="border:1pt solid #000000;padding:0.176cm;"| Slide 13
+
| style="border:1pt solid #000000;padding:0.176cm;"| Slide 13  
  
 
Summary  
 
Summary  
Line 513: Line 509:
  
  
| style="border:1pt solid #000000;padding:0.176cm;"| Watch the video available at''' http:spoken-tutorial.org/ '''
+
| style="border:1pt solid #000000;padding:0.176cm;"| Watch the video available at '''http:spoken-tutorial.org/ '''
  
It summarizes the''' Spoken Tutorial''' project.  
+
It summarizes the '''Spoken Tutorial''' project.  
  
 
If you do not have good bandwidth, you can download and watch it.  
 
If you do not have good bandwidth, you can download and watch it.  
  
 
|-
 
|-
| style="border:1pt solid #000000;padding:0.176cm;"| Slide 15
+
| style="border:1pt solid #000000;padding:0.176cm;"| Slide 15  
  
  
Line 532: Line 528:
  
 
|-
 
|-
| style="border:1pt solid #000000;padding:0.176cm;"| Slide 16
+
| style="border:1pt solid #000000;padding:0.176cm;"| Slide 16  
  
  
Line 542: Line 538:
 
More information on this Mission is available at  
 
More information on this Mission is available at  
  
[http://spoken-tutorial.org/ http][http://spoken-tutorial.org/ ://][http://spoken-tutorial.org/ spoken][http://spoken-tutorial.org/ -][http://spoken-tutorial.org/ tutorial][http://spoken-tutorial.org/ .][http://spoken-tutorial.org/ org]/NMEICT-Intro '''
+
[http://spoken-tutorial.org/ http][http://spoken-tutorial.org/ ://][http://spoken-tutorial.org/ spoken][http://spoken-tutorial.org/ -][http://spoken-tutorial.org/ tutorial][http://spoken-tutorial.org/ .][http://spoken-tutorial.org/ org]/NMEICT-Intro  
  
This is '''Trupti Kini''' from''' IIT Bombay''' signing off. Thank you for watching.  
+
This is '''Trupti Kini''' from '''IIT Bombay''' signing off. Thank you for watching.  
  
 
|}
 
|}

Revision as of 16:01, 17 September 2014

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 Downloads ABT for Linux.
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.

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-

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