00 how to_test_app
-
Upload
traitet-thepbandansuk -
Category
Technology
-
view
227 -
download
0
Transcript of 00 how to_test_app
![Page 1: 00 how to_test_app](https://reader033.fdocuments.in/reader033/viewer/2022060201/5599b2261a28ab5f018b4593/html5/thumbnails/1.jpg)
HOW TO INSTALL
AND TEST E-MENU
SOFTWARE
Project: E-menu on iPad for Thai restaurant
Topic: Outcome#2
Content: How to install and test e-menu software
Created by Traitet Th.
Created Date 13 Aug 2012
Revised Date 6 Sep 2012
Revision No. 1.0
*** Note that I can not responsible for any problem that may arise the use of this source code. ***
![Page 2: 00 how to_test_app](https://reader033.fdocuments.in/reader033/viewer/2022060201/5599b2261a28ab5f018b4593/html5/thumbnails/2.jpg)
OBJECTIVES OF THIS DOCUMENT
1. To explain general information about
source code.
2. To explain briefly how to install and test
application.
2
![Page 3: 00 how to_test_app](https://reader033.fdocuments.in/reader033/viewer/2022060201/5599b2261a28ab5f018b4593/html5/thumbnails/3.jpg)
PRESENTATION ON YOUTUBE
Video presentation of e-menu on iPad for restaurant
customer:
http://www.youtube.com/watch?v=th5YlsYrHuY
http://www.youtube.com/watch?v=bCsFiMHuG80
Video presentation of e-menu on Website for restaurant staff:
http://www.youtube.com/watch?v=HSqTJ5acxzw
Video presentation of innovative e-menu and its benefits:
http://www.youtube.com/watch?v=-cBTICTa7bE
3
![Page 4: 00 how to_test_app](https://reader033.fdocuments.in/reader033/viewer/2022060201/5599b2261a28ab5f018b4593/html5/thumbnails/4.jpg)
1. XCODE
4
![Page 5: 00 how to_test_app](https://reader033.fdocuments.in/reader033/viewer/2022060201/5599b2261a28ab5f018b4593/html5/thumbnails/5.jpg)
1. XCODE5
No Item Description Comment
1 E-menu application E-menu 2012 Version 0.9 The final prototype
2 Supported devices iPad 1,2,3
3 Operating System MAC OX x 10.7.3
4 Developing Tool Xcode 4.3.2
5 Required Web serviceshttp://aces-
web.aces.shu.ac.uk/students/b0043132/0
3_emenu/service.asmxExpired on 31 January 2013
6Required Manage
website
http://aces-
web.aces.shu.ac.uk/students/b0043132/0
3_emenu/default.aspxExpired on 31 January 2013
General Information
![Page 6: 00 how to_test_app](https://reader033.fdocuments.in/reader033/viewer/2022060201/5599b2261a28ab5f018b4593/html5/thumbnails/6.jpg)
1. XCODE6
How to test program?How to test program ?
1. Copy folder
“01_SOURCE_CODE_XCODE”
from
“02_SOURCE_CODE_AND_D
B\01_SOURCE_CODE_XCOD
E”
2. Double Click File
MENU01.xcodeproj
3. Click button “Run”
4. Program runs on iPad simulatior
Comment
1. Make sure that you should “iPad
5.1 Simmulator”
2. If you want to install to iPad, you
have to pay for developing
program. Please find more info at:
https://developer.apple.com/progra
ms/ios/gettingstarted/
1
3
2
2
If you don’t have iMAC or MacBook, you can watch video demo at:
http://www.youtube.com/watch?v=I1HbAoOT7MA
![Page 7: 00 how to_test_app](https://reader033.fdocuments.in/reader033/viewer/2022060201/5599b2261a28ab5f018b4593/html5/thumbnails/7.jpg)
2. E-MENU WEBSITE (.NET)
7
![Page 8: 00 how to_test_app](https://reader033.fdocuments.in/reader033/viewer/2022060201/5599b2261a28ab5f018b4593/html5/thumbnails/8.jpg)
2.1 E-MENU WEBSITE (.NET)8
General Information
No Item Description Comment
1 Websitehttp://aces-
web.aces.shu.ac.uk/students/b0043132/03_e
menu/default.aspxSame website as this souce code
2 E-menu applicationE-menu 2012 Version 0.9 (The final
protoytpe)Web based application
3 SupportInternet Explorer, Firefox, Google
Chrome and Safari
4Developed on Operating
SystemWindows 7 Professional
5Developed by Developing
ToolVisual Studio .Net 2010
6 Developed with DBMS SQL Server 2005
7 .NET Frameword .NET Framework 4.0
![Page 9: 00 how to_test_app](https://reader033.fdocuments.in/reader033/viewer/2022060201/5599b2261a28ab5f018b4593/html5/thumbnails/9.jpg)
9
How to install e-menu website?
2.2 E-MENU WEBSITE (.NET)
Install Website
1 Install IIS Find installation guide at:http://technet.microsoft.com/en-us/library/cc725762.aspx
2 Copy folder "03_EMENU" to C:\Inetpub\wwwroot
3Convert "03_EMENU" to
application
IIS, [your computer name], Sites, Default
Web site, 03_EMENU, Right Click, Convert
to Application
See the left figure
2 31
![Page 10: 00 how to_test_app](https://reader033.fdocuments.in/reader033/viewer/2022060201/5599b2261a28ab5f018b4593/html5/thumbnails/10.jpg)
10
How to install the database?
2.3 E-MENU WEBSITE (.NET)
Install Database
1 Install SQL Server Equal or above SQL Server 2005http://technet.microsoft.com/en-us/library/ms143516(v=sql.90).aspx
2.1 Attach database Databases > Right click > Attach…
2.2 Selecting Database file
Select Database File at
“02_SOURCE_CODE_AND_DB\11_DATA
BASE\EMENU_DB2012.mdf” Then, press
OK12.1 2.2
![Page 11: 00 how to_test_app](https://reader033.fdocuments.in/reader033/viewer/2022060201/5599b2261a28ab5f018b4593/html5/thumbnails/11.jpg)
11
How to configure e-menu website?
2.4 E-MENU WEBSITE (.NET)
If database server is installed at different place as web server or it is installed not in your PC,
You have to change configuration in .NET files as follow;
1 Open visual studio .net At C:\Inetpub\wwwroot\03_EMENU
2
Change web.config file
In
C:\Inetpub\wwwroot\03_EMENU
Change configuration at line 8
Source: [Database Server Name]
Catalog: Database Name
ID: Database user
Password: Database Password
<add name="cn" connectionString="Data
Source=.;Initial
Catalog=EMENU_DB2012;User
ID=emenu;Password=emenu"
providerName="System.Data.SqlClient"/
>
3 Change resource.resx fileChange
"App_GlobalResource/Resource.resx"
1
2
3
![Page 12: 00 how to_test_app](https://reader033.fdocuments.in/reader033/viewer/2022060201/5599b2261a28ab5f018b4593/html5/thumbnails/12.jpg)
2.5 E-MENU WEBSITE (.NET)12
How to test e-menu website?
• Open website on a Internet Browser: http://localhost/03_EMENU/Default.aspx
• If you cannot install, you can test at: http://aces-web.aces.shu.ac.uk/students/b0043132/03_emenu/default.aspx