Sencha Touch Setup Guide
Topics:
Introduction
Sencha Touch, a high-performance HTML5 mobile application framework, is the cornerstone
of the Sencha HTML5 platform. Built for enabling world-class user experiences,
Sencha Touch is the only framework that enables developers to build powerful apps
that work on iOS, Android, BlackBerry, Windows Phone, and Internet Explorer 10.
Learn more at What's New.
Learn about new APIs in the "New in this version"
section near the end of the API page.
Installing Sencha Touch
To install Sencha Touch:
- Download Sencha Cmd.
Sencha Cmd enables you to publish, package, and simulate an application, as well as to upgrade Sencha software.
Sencha Cmd also installs Apache Ant, Compass, and Sass.
- Download Ruby
- Mac OS: Ruby is pre-installed. You can verify
it with the ruby -v command.
- Windows Download the open source 7-Zip archiver.
Download Ruby (any version) from rubyinstaller.org.
Set the Path environment variable to point to the directory in which you unzip the installer file.
- Ubuntu: Use sudo apt-get install ruby2.0.0 to download and install Ruby.
- Start your web server.
If using the Sencha Cmd web server, change directory to where you want to serve
your application, open a new command line window and start the server with the
sencha web start command. You can stop the server by typing
CTRL+c or opening another command line and typing the sencha web stop command.
You can access the Sencha Cmd web server using
the
http://localhost:1841/<app_name>
URL.
- If you are using Windows and running the IIS web server, add "application/x-json"
as a MIME type; otherwise, IIS returns the JSON file with an error when you preview
your project. In Windows, enable IIS from the add/remove programs or programs and features dialog
(add/remove windows features), you can also add extra functionality by downloading the web platform
toolkit to make config of IIS features extra simple.
For information on adding this MIME type, see this
Stackoverflow article.
- Use a modern web browser such as
Chrome
or Safari.
Sencha Touch Information