Mass observation (MOb) Version: 0



Download 42.82 Kb.
Date03.07.2017
Size42.82 Kb.
#22414

Mass observation (MOb)

Version: 1.0

Installation Manual

Date: 2010-01-14








Mass observation (MOb)

Installation Manual
Version 1.0

Doc. No.:







Revision History


Date

Version

Description

Author

2010-01-14

0.1

Draft version done

Igor Bucec

2010-01-14

1.0

Final version

Josip Petrić


























Table of Contents

1. Introduction 4

1.1 Purpose of this document 4

1.2 Document organization 4

1.3 Intended Audience 4

1.4 Scope 4

1.5 Definitions and acronyms 4

1.5.1 Definitions 4

1.5.2 Acronyms and abbreviations 4

1.6 References 4

2. Installation 5

3. Deployment of mySQL database 5

4. Deployment of MOb Web application 5

5. Mobile application 6

5.1 Using computer 6

5.2  Using QR code 8



1.Introduction




1.1Purpose of this document

The purpose of this document is the explanation on how to deploy MOb application.



1.2Document organization

The document is organized as follows:




  • Section 1, Introduction, describes contents of this user manual.

  • Section 2, Installation, describes what is need to be installed

  • Section 3, Deployment of mySQL database, describes how to deploy mySQL database.

  • Section 4, Deployment of MOb Web application, describes how deploy MOb application.

  • Section 5, Mobile application, describes how the mobile application is installed on mobile device



1.3Intended Audience

The intended audience is people in charge for deploying MOb system.



1.4Scope

The main scope of this document is to give instructions on how to deploy the MOb application.



1.5Definitions and acronyms




1.5.1Definitions





Keyword

Definitions

MOb

Project name in all documents and application itself









1.5.2Acronyms and abbreviations





Acronym or

abbreviation

Definitions















1.6References

2.Installation

Web application is tested on Debian Linux distribution, so here is the installation steps:




  • Apache: sudo apt-get install apache2

  • PHP: sudo apt-get install libapache2-mod-php5 php5-cli php5-common php5-cgi

  • MySQL: sudo apt-get install mysql-server

  • phpMyAdmin: sudo apt-get install phpmyadmin


3.Deployment of mySQL database





  1. Startting mySQL database:




    1. sudo /etc/init.d/mysql start




  1. Setting password for the root user

    1. sudo mysqladmin -u root -h localhost password 'mypassword'




  1. Database configuration

  1. If you don’t want to change database config file of the Web application, then in the phpMyAdmin login as root and create new user

    • Username: mob

    • Password: SSAueeCdeTnuVVsn

  1. Else, in the phpMyAdmin create user whatever you want and update the database config file:




    • Codeigniter database configuration

      system->application->config->database.php :

      $db['default']['hostname'] = "localhost";
      $db['default']['username'] = "mob";
      $db['default']['password'] = "SSAueeCdeTnuVVsn";
      $db['default']['database'] = "mob";
      $db['default']['dbdriver'] = "mysql";
      $db['default']['dbprefix'] = "";
      $db['default']['pconnect'] = TRUE;
      $db['default']['db_debug'] = TRUE;
      $db['default']['cache_on'] = FALSE;
      $db['default']['cachedir'] = "";
      $db['default']['char_set'] = "utf8";
      $db['default']['dbcollat'] = "utf8_general_ci";
      $db['default']['port'] = 3306;




4.Deployment of MOb Web application

Copy unpack source to /var/www/ directory or if you have more than one application, than you can create new folder under /var/www directory (e.g. sudo mkdir mob). Then you can unpack source to /var/www/mob


Starting Web application:
In the Internet browser enter host of your server (e.g. http://yourhost.domain). If you putted web application under e.g. mob directory, then, simple call http://yourhost.domain/mob.

5.Mobile application


Mobile application can be downloaded on following link: http://161.53.67.212/index.php/downloads/main


5.1 MOb mobile application installation QR code
MOb application is digitally signed application. It is safe application and no malicious software is present in it.There are two ways for installing mobile application to your Android-based phone.

5.1Using computer

First option is to save MOb application to your phone's SD card and install it from there. This is the easiest way. There is also another way:

Steps for installing MOb application using your computer and Command Prompt


  1. Make sure you have installed all drivers necessary for connecting your phone to the computer. If your

computer can’t recognize that your phone is plugged in USB port, you can’t install any application this way.

  1. Open Command Prompt.

  2. If you are installing MOb application for the first time use the following command.

 


  1. If everything went fine you should get the following message. (adb server is out of date.  killing… is optional and you may not see it)



  1. If you are updating MOb application with newer version use the following command.



  1. If everything went fine you should get the following message.


5.2 Using QR code


 

You can install MOb application by using QR code provided in download section.



(This tutorial is made on HTC Desire with Android 2.2 OS)

 


  1. Before you can install MOb application this way you will have to enable installation of non-Market applications. We didn’t publish our application to the Android Market because of 25$ registration fee. To allow installation of non-Market applications see the following images.

 

Open Settings and chose Applications




Check Unknown Sources



 


  1. To install MOb application using provided QR code you need to have Barcode Scanner or similar application installed on your phone. 

  2. Scan the provided QR code with Barcode Scanner application.



  1. Open link in browser and download .apk file.

  2. Accept installation when prompted.

  3. When updating application the process is the same.

 

Because MOb application is digitally signed and all its updates will be signed with the same key you will be able to download updates as they become available.










Page




Download 42.82 Kb.

Share with your friends:




The database is protected by copyright ©ininet.org 2024
send message

    Main page