00 how to_test_app
TRANSCRIPT
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 7 Sep 2012
Revision No. 1.0
*** Note that I can not responsible for any problem that may arise the use of this source code. ***
OBJECTIVES OF THIS DOCUMENT
1. To explain general information about
source code.
2. To explain briefly how to install and
test application.
2
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
1. XCODE FOR IPAD APP
4
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
5Required Web
serviceshttp://aces-web.aces.shu.ac.uk/students/b0043132/03_emenu/service.asmx
Expired on 31 January 2013
6Required Manage
websitehttp://aces-web.aces.shu.ac.uk/students/b0043132/03_emenu/default.aspx
Expired on 31 January 2013
General Information
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_XCODE”
2. Double Click File
MENU01.xcodeproj
3. Click button “Run”
4. Program runs on iPad
simulator
Comment
5. Make sure that you choose
“iPad 5.1 Simulator” on the
Xcode
6. 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
2. E-MENU WEBSITE
(.NET)
7
2.1 E-MENU WEBSITE (.NET)
8
General Information
No Item Description Comment
1 Website http://aces-web.aces.shu.ac.uk/students/b0043132/03_emenu/default.aspx
Same 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 System
Windows 7 Professional
5Developed by Developing Tool
Visual Studio .Net 2010
6 Developed with DBMS SQL Server 2005
7 .NET Framework version .NET Framework 4.0
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
1
10
How to install the database?
2.3 E-MENU WEBSITE (.NET)
Install Database
1 Install SQL Server Equal or above SQL Server 2005 http://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_DATABASE\EMENU_DB2012.mdf” Then, press OK1 2.1 2.2
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 8Source: [Database Server Name]Catalog: Database NameID: Database userPassword: 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
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